liip / TheA11yMachine

The A11y Machine is an automated accessibility testing tool which crawls and tests pages of any web application to produce detailed reports.
https://www.liip.ch/
621 stars 66 forks source link

Use Login/password authentication #112

Open elenass83 opened 6 years ago

elenass83 commented 6 years ago

Hi all,

I just started using A11ym and I'm quite impressed with the tool, it has a lot of potential.

I got great results for the initial (login) page with the basic usage but could not get it to work in the other pages that come after login.

I tried with the option a11ym --http-auth-user _ --http-auth-password _ url

Any idea if I'm missing something or maybe this is some bug?

Thanks in advance!

Elena.

iamjolly commented 6 years ago

Hi @elenass83

I just discovered this tool recently and see your question wasn't answered.

If you're using HTTP Authentication, that's considered "Basic Auth" which is a prompt from the webserver for a username and password. This method differs from logins built into a web application page which require a form submission and authentication against a database.

That might be why you're having trouble getting the tool to log in to the system and move past the first login page.

portalstyle854 commented 6 years ago

I wonder if we can make use of the actions functionality from pa11y dependacy. You can try editing the index.js file located in node_modules/pa11y/example/actions file path. Here is documentation on how to use Actions: https://github.com/pa11y/pa11y#actions

brianteeman commented 6 years ago

Wondering if anyone was able to get the actions functionality from pa11y or similar working with theA11yMachine