@axe-core/cli

Test web pages for accessibility issues from the command line.

npmmacoslinuxwindows
Try with needOr install directly
Source

About

A CLI for accessibility testing using axe-core

Commands

axe

Examples

check a website for accessibility problems$ axe https://example.com
scan local HTML file for accessibility violations$ axe ./index.html
test website and save results to JSON file$ axe https://example.com --output results.json
run accessibility audit with specific standards$ axe https://example.com --standard wcag2aa
test multiple pages and get detailed accessibility report$ axe https://example.com --tags wcag2a,wcag2aa,wcag21aa