
axe-core runs over 100 automated accessibility tests against your rendered DOM — WCAG 2.1 AA/AAA, Section 508, Best Practices — and gives you specific, fixable findings with source locations. The same engine powers the browser DevTools extension and a CI/CD-native CLI.
1. Install the browser extension — Chrome or Firefox from the axe DevTools store page. This is for manual auditing during development.
2. Add to your CI pipeline:
bash npm install @axe-core/cli npx axe http://your-app.dev --exit
3. For Playwright integration:
typescript import AxeBuilder from '@axe-core/playwright'; test('accessibility audit', async ({ page }) => { await page.goto('/'); const results = await new AxeBuilder({ page }).analyze(); expect(results.violations).toEqual([]); });
Prompt to test it:
Run an accessibility audit on the checkout flow at /checkout and list every violation with its WCAG criterion and severity.
Most accessibility tools dump a spreadsheet of issues. axe gives you:
| Pros | Cons |
|---|---|
| Industry standard — used by Google, Microsoft, Etsy | Automated testing covers ~30% of WCAG |
| CLI + browser + CI/CD integrations | Some violations require human judgment |
| Very low false positive rate | Can be slow on very large SPAs |
There is no excuse for shipping inaccessible UIs in 2026. axe DevTools makes accessibility testing automatic and developer-friendly. Install the browser extension during development, add the CLI to your CI pipeline, and break builds on critical accessibility regressions.