
I Built a Free WCAG Accessibility Audit CLI for Government Teams
Every government website in the US is required to meet Section 508 accessibility standards. Most commercial tools cost hundreds per month. So I built an open source alternative. ** The Problem ** If you're a developer working on a .gov site, you need to verify WCAG compliance before every deploy. Your options are: Manual testing — slow, inconsistent, doesn't scale Commercial tools (Siteimprove, Level Access) — $500+/month Browser extensions (axe DevTools) — great for one page, but can't scan a whole site or run in CI I wanted something that: Runs from the terminal Scans entire sites via sitemap Outputs JSON/CSV for CI pipelines Costs nothing wcag-audit npx wcag-audit scan https://your-site.gov That's it. No API keys, no account, no config files. It launches a headless browser, injects https://github.com/dequelabs/axe-core (the same engine Google and Microsoft use), and returns a report with every WCAG violation, the affected elements, and how to fix them. What the output looks like ═══
Continue reading on Dev.to
Opens in a new tab



