Automated Accessibility Test for web-applications
This Project is MVP/Boilerplate for automated Accessibility testing. One can use this for performaing quick accessibility test on any Page, or can further extend for their project specific needs by using placeholder classes/methods. Note: Currently authentication is disabled and can be enabled by uncommenting the login placeholder class
npm install
- CLI Mode: It gives flexibility to run from anywhere/any cli.
npm run A11y-cli <appURL=https://test.com,authType=internall,username=test,password=password,rules=wcag2a>
- GUI Mode: It gives very interective UI with reach features such as select browsers & locate the element where violation/error ocuured
npm run A11y-gui <appURL=https://test.com,authType=internall,username=test,password=password>
click 'Run all specs'
- appURL : This will be the complete applicaiton url with http/https.
- authType : If you application requires authentication, use this argument to specify authType by default value will be None.
- username : If authentication is required provide the username here.
- password : If authentication is required provide the password here.
- rules : Accessibility standard rule set. valid values are - wcag2a,wcag2aa,section508. Default value will be all
Detaild Accessibility violations Report will be generated inside /cypress/reports folder in simple json format. Which can be further use to share/integrate in ci-cd.