axe-testcafe
The TestCafe module that allows you to use the aXe accessibility engine in TestCafe tests.
Installation
npm install axe-core axe-testcafe --save-dev
How to use
You can write a TestCafe test with automated accessibility checks like this.
; fixture `TestCafe tests with Axe` page `http://example.com`; ;
If any accessibility issues are found, you will see a detailed report generated by the createReport
function.
aXe options
The axe-testcafe
module allows you to define the context
and options
axe.run parameters in a TestCafe test.
;