Home/Skills/axe-core

Site Optimization & CRO · Open source on GitHub

axe-core

The accessibility engine the industry standardised on — it is what powers Lighthouse's a11y score, so using it directly gets you more detail.

GitHub Open-source tool JavaScript · 7.8k ★ MPL-2.0
dequelabs/axe-core GitHub repository card

Upfront: I did not build this. It is an open-source project on GitHub (dequelabs/axe-core, MPL-2.0). It is listed here on star count, maintenance activity and how well it fits day-to-day storefront operations.

What it does

How to use it

Install as an npm package, usually alongside a test framework:

npm install axe-core --save-dev

# or with pnpm
pnpm add --save-dev axe-core

For a quick look without wiring anything up, the axe DevTools Chrome extension is the same engine with a UI — install it and run a scan from DevTools.

When to use it, and when not to

This is the engine. For a finished CLI that scans a whole site and drops into CI, use Pa11y; to score performance and SEO at the same time, use Lighthouse.

Related guides and videos