-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pa11y hard to use from non-internet connected machines #44
Comments
Hi Tom, Thanks for bringing this up. We did look at keeping a copy locally briefly but it wasn't a big priority for our use-case. I'd be interested in merging if you wanted to work on this, but we're currently building the next major version of pa11y (no ETA yet) which no longer uses HTML CodeSniffer, so I don't have much time to dedicate to writing a fix myself. Rowan |
@tomduckering This is probably what you're referring to, but in the event that it isn't: You can supply the $ wget http://squizlabs.github.io/HTML_CodeSniffer/build/HTMLCS.js
$ # Or alternatively `curl -O`
$ python -m SimpleHTTPServer
$ # Or put it on a server that your machines have access to And run pa11y like so: I do agree though that this is jumping through hoops. @rowanmanning Will v2.0 be open source? |
@whymarrh absolutely! Alpha stages at the moment, but was planning to get some early feedback from you at some point. Public roadmap should hopefully appear soon |
Marking this as resolved – you can achieve this from an offline machine in the way that @whymarrh specified for now. In the next version of pa11y, I'm considering moving to a locally-hosted version of HTML CodeSniffer by default which will make this much easier in future. |
* Update Pa11y dependency from beta to 5.0.0 * Update navigation failure message from puppeteer and increase integration test timeout
Hi,
Thanks for making pa11y. We're trying to use it for our project but since we have machines with no internet connectivity we have to jump through some hoops to make HTMLCS.js available to download via HTTP.
Is there a reason you're not just including this js file in your code or is there a reason it can't be fetched from a local file system?
Happy to try and make a fix but wanted to understand if there were some reasons for this not being possible.
Thanks,
Tom
The text was updated successfully, but these errors were encountered: