TheA11yMachine icon indicating copy to clipboard operation
TheA11yMachine copied to clipboard

Use Login/password authentication

Open elenass83 opened this issue 8 years ago • 3 comments

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.

elenass83 avatar Oct 11 '17 14:10 elenass83

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.

iamjolly avatar Dec 08 '17 13:12 iamjolly

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

portalstyle854 avatar Feb 08 '18 19:02 portalstyle854

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

brianteeman avatar Jul 31 '18 15:07 brianteeman