TheA11yMachine
TheA11yMachine copied to clipboard
Use Login/password authentication
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_user> --http-auth-password <http_auth_password> url
Any idea if I'm missing something or maybe this is some bug?
Thanks in advance!
Elena.
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.
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
Wondering if anyone was able to get the actions functionality from pa11y or similar working with theA11yMachine