Analyze a Web Page

Link to Analyze a Web Page copied to clipboard

Axe DevTools CLI can be used to test one or more pages at a time.

The following command will run axe DevTools CLI on the example page. By default, axe DevTools CLI will use Firefox, using the latest version of axe-core, running the WCAG 2.0 AA ruleset, and outputting scan results to std-out.

axe https://example.com/

Fetching a multiple pages with output going to the std-out console.

axe https://example.com/ https://example.com/about.html

Test a single page and save the results as a JSON file called axe-results.json in the current directory.

axe https://example.com/ --save=./axe-results.json

Test a single page and generate an HTML report in the ./axe-reports/ directory.

axe https://example.com/ --report=./axe-reports/