Is it possible to run a11y against sites requiring login?
Opened this issue · 3 comments
EigenTheory commented
Is it possible to run a11y against sites requiring login?
DanielRuf commented
a11y uses phantomjs and you can probably provide more options using the cli.
https://github.com/addyosmani/a11y/blob/master/index.js#L33-L38
phantomjs accepts a userName
and password
setting for pages (just in the API, not on the CLI as command line option afaik).
DanielRuf commented
You may need a custom version of https://github.com/addyosmani/a11y/blob/7ebffa7b3bea489caafbd86da4147bb21c98ea47/audits.js
webpage.settings.userName
and webpage.settings.password
is what you are looking for