why-cli
Browser-based accessibility checkers are fine for a one-off audit, but they do not scale. If you maintain more than a handful of sites — or you want every deploy checked automatically — you need scanning that runs where your code runs: the terminal and your CI pipeline. A CLI scanner fits both. It takes a URL or a local HTML file, applies a fixed ruleset, and exits with a status code your build can act on.
⌨️ Scriptable
Pipe results into reports, fail builds on errors, scan a whole sitemap in a loop. Anything you can type, you can automate.
🔒 Runs Locally
No account, no upload. The page HTML is fetched and analysed on your own machine — safe for client sites under NDA.
🔁 CI-Ready
A --fail-on flag turns accessibility errors into build failures, so a regression is caught before deployment, not by a client.