Skip to content

This project uses cypress,axeAPIs & Plugins to perform automated accessibility testing for the given page.

License

Notifications You must be signed in to change notification settings

the-test-trove/a11y-quickTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A11y_QuickTest

Automated Accessibility Test for web-applications

Description

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

Getting Started

Prerequisites

Installing

npm install

Running the tests

  • 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'

Arguments

  • 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

TestResult

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.

Built With

  • NodeJs - Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
  • Cypress - E2E Testing Framework
  • axe-core - Axe is an accessibility testing engine for websites and other HTML-based user interfaces

About

This project uses cypress,axeAPIs & Plugins to perform automated accessibility testing for the given page.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published