axe-result-pretty-print
The module allows to make readable output for aXe core accessibility results from raw aXe result object. Prints violations summary in a table, violations details and small summary of passed rules.
Allows skipping violations summary table print.
Install
npm i axe-result-pretty-print
Usage
Example usage in TestCafe
To run TestCafe tests with axe-core, install testcafe, axe-core and @testcafe-community/axe:
npm i -D axe-result-pretty-print testcafe axe-core @testcafe-community/axe
For TestCafe example add the following clientScript in your .testcaferc.json
config:
Full TestCafe test example is bellow:
;;; ; ;