Skip to content
This repository was archived by the owner on Jul 12, 2020. It is now read-only.

Is it possible to run a11y against sites requiring login? #69

Open
EigenTheory opened this issue Mar 29, 2017 · 3 comments
Open

Is it possible to run a11y against sites requiring login? #69

EigenTheory opened this issue Mar 29, 2017 · 3 comments

Comments

@EigenTheory
Copy link

No description provided.

@DanielRuf
Copy link

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
Copy link

DanielRuf commented Dec 6, 2017

You may need a custom version of https://github.com/addyosmani/a11y/blob/7ebffa7b3bea489caafbd86da4147bb21c98ea47/audits.js

webpage.settings.userNameand webpage.settings.password is what you are looking for

@DanielRuf
Copy link

See #75

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants