Axe Scan
Axe Scan tool is code scanning tool and based on axe-core, which is used for many accessibility tools, including Lighthouse.
Axe Core is used for many accessibility tools, including Lighthouse. Axe-core covers WCAG 2.0/2.1/2.2 on level A, AA and AAA as well as a number of best practices.
Install
npm install --save-dev axe-scan
Axe scan setup file
axe-scan.config.json
{
"axeCoreTags": [
"wcag2a",
"wcag2aa",
"wcag21a",
"wcag21aa",
"wcag22aa"
],
"resultTypes": [
"incomplete",
"violations"
],
"filePath": "./urls.txt",
"locale": "en"
}
Url file
urls.txt
https://jaffamonkey.com/
https://jaffamonkey.com/about/
https://jaffamonkey.com/contact/
https://jaffamonkey.com/skills/testing/
https://jaffamonkey.com/skills/accessibility/
https://jaffamonkey.com/accessibility-statement/
https://jaffamonkey.com/terms/
https://jaffamonkey.com/accessibility-checks/
Run Axe scan
./node_modules/.bin./axe-scan run > ./results/axescan-results.csv