NickColley/jest-axe
Custom Jest matcher for aXe for testing accessibility ♿️🃏 observed · 2026-08-28
Health v2 · maintenance only
86/100
- Activity 97
- Release rhythm 63
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 509
- age_days: 3124
- days_rel: 38
- days_push: 23
- n_releases_24m: 2
Adoption not part of the score
1111 stars · 54 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
jest-axe is a custom Jest matcher wrapping axe-core that lets you assert rendered HTML has no accessibility violations. It runs automated a11y checks in JSDOM and reports violations in Jest's familiar expect format.
Use cases
- test that my React components have no accessibility violations
- add automated a11y checks to my Jest test suite
- assert rendered HTML passes axe-core accessibility rules
- catch missing alt text and ARIA issues in unit tests
- run accessibility linting as part of CI tests
When to choose
- you already use Jest and want automated accessibility assertions
- you want axe-core violations reported as readable Jest failures
- you're testing React, Vue, or plain HTML output in JSDOM
When to avoid
- you need color contrast checks, which don't work in JSDOM
- you expect automated testing to guarantee full accessibility - manual and assistive-tech testing is still required
- you use a test runner other than Jest without matcher support
Facets
library · maturity active
testing accessibility e2e-testing linter testing accessibility web-development frontend developer-tools jest axe-core a11y jest-matcher automated-accessibility-testing nodejs javascript jsdom
2 sources
- readme: https://github.com/NickColley/jest-axe · fetched 2026-08-28 · d3ac498eb460
- registry_npm: https://registry.npmjs.org/jest-axe · fetched 2026-08-29 · 5f2421f290f7
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| NickColley/jest-axe | main | 86 |
For agents
markdown · JSON · MCP: product_card(name="NickColley/jest-axe")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem