# @axe-core/playwright: 8.1 out of 10

A strong pick. 2nd of 7 in [Accessibility checkers](https://elestia.ai/opensource/a11y/index.md).

@axe-core/playwright is Deque's official adapter for running the axe-core engine inside Playwright tests. It is the tool Playwright's own docs recommend, and it is the default way to add automated accessibility checks to a Playwright suite today. Like every automated scanner, it finds only part of the problems, so manual testing is still needed.

**Best for:** Teams that already test in Playwright and want axe accessibility scans that fail the build on new violations.

## Scores

- **Overall: 8.1** (likely 7.1 to 8.8)
  - Claude Opus 5.5 (8.0): For Playwright users it is the standard, vendor-backed way to run axe checks, and Playwright itself recommends it. It is well maintained, safe and growing fast. It stays below 9 because it works only with Playwright, its frame and type bugs linger, and axe-core gets direct use more widely across other runners.
  - GPT-6.2 Sol (8.2): For a new Playwright suite, this is a strong pick because it puts maintained axe-core rules directly into user-flow tests with little setup. Standalone axe-core serves custom browser integrations, and Pa11y CI offers a ready-made sitemap workflow. TypeScript compatibility reports and uncertainty about direct adoption and browser-specific reliability keep the range wide.
- **Needed by many: 4.9** (likely 3.8 to 5.9)
  - Claude Opus 5.5 (5.0): Accessibility checking matters to most teams that build web apps. This package, though, serves only teams that use Playwright for end-to-end tests. Playwright is now the leading E2E runner, which keeps that group fairly large, but it is narrower than the whole category.
  - GPT-6.2 Sol (4.7): Accessibility checks are relevant to most web teams, and WebAIM found detectable WCAG failures on 95.9% of the home pages it tested in 2026. This adapter serves the narrower group using JavaScript or TypeScript with Playwright. The developer survey measures Playwright use, which leaves the size of the audience for accessibility checks within that group uncertain.
- **Helps a lot: 8.2** (likely 7.2 to 9.2)
  - Claude Opus 5.5 (8.0): It brings axe-core's mature, low-false-positive rules into real browser tests, with a clean builder API for tags, scoping and rule control. The open bugs are around iframes, legacy mode and Page type compatibility, and some have stayed open for a long time. Automated rules still miss focus order, keyboard use and screen-reader flow.
  - GPT-6.2 Sol (8.4): Version 4.14.0 makes it easy to run scoped axe-core scans against live UI states and assert on specific findings. Its small typed API and official fixture examples give coding agents a clear pattern to follow. Duplicate Playwright installs have caused TypeScript errors, and the documented legacy mode skips cross-origin frame coverage. Independent comparisons mostly evaluate the underlying engine, so speed and reliability across Playwright setups are less certain.
- **Holds up over time: 8.0** (likely 6.9 to 9.0)
  - Claude Opus 5.5 (8.0): Deque, a company that sells accessibility tools, backs the project. It shipped 136 commits and 5 to 6 releases in the last year, kept in step with axe-core. The maintainers are actively modernising the tooling (pnpm, rolldown, npm provenance). Playwright-specific changes are infrequent, and a few compatibility bugs stay open for months.
  - GPT-6.2 Sol (8.0): Deque published six npm versions in the past year, and the October release brought the adapter to axe-core 4.14.0. The adapter follows axe-core’s major and minor versions, so its update cadence is tied to the engine. Commit and contributor figures cover the shared repository, and a Playwright typing issue has been open since February. The number of people who can authorize a release is unclear.
- **Used widely: 5.8** (likely 4.3 to 7.1)
  - Claude Opus 5.5 (7.0): Downloads rose from 4.5M to 94.8M per 4 weeks, a ratio of about 21 against a median of 4.1, which is very strong growth. A rise this sharp is probably inflated by CI and automated or agent-driven installs. ecosyste.ms counts only 401 dependent repositories, though that count is likely low for a scoped package. Real direct use is probably in the tens to hundreds of thousands of projects.
  - GPT-6.2 Sol (4.5): Reported four-week installs rose from 4.52 million to 94.75 million, about 21 times year over year against a 4.1 times catalog median. That is the strongest install growth in the peer group, though repeated CI installs obscure the number of teams choosing it. Ecosyste.ms found 401 repositories and 67 npm packages, well below Pa11y and Lighthouse on indexed repositories. Shared repository stars and sparse social signals leave the direct adoption estimate wide.
- **Vouched for: 7.7** (likely 6.6 to 8.7)
  - Claude Opus 5.5 (7.5): Playwright's official documentation (Microsoft) recommends it. Third-party write-ups and the developer docs of companies such as Grafana and Shopware use it. The axe-core engine under it is the industry standard. There is little survey data on the adapter itself, and community discussion of it is thin.
  - GPT-6.2 Sol (7.8): Playwright’s official guide uses this package, and Kubernetes Headlamp and Internet Archive’s Open Library added it to their end-to-end suites in 2026. Developers also report that Playwright with axe works well for scanning modals and other states reached through interactions. Published comparisons provide evidence about the axe-core engine, while direct evidence about adapter satisfaction and performance is thinner.
- **Safe: 8.3** (likely 7.2 to 9.0)
  - Claude Opus 5.5 (8.5): It has no advisories ever and only one runtime dependency, axe-core, which comes from the same vendor. The OpenSSF Scorecard is 7.1, with weak Token-Permissions, CII and Fuzzing checks. Publishing with npm provenance was added in 2026. MPL-2.0 is a file-level copyleft licence that does not restrict commercial use, and it is used here as a test dependency.
  - GPT-6.2 Sol (8.0): The adapter has one direct runtime dependency, axe-core, plus a Playwright peer, and OSV lists no advisories for the adapter. The tagged GitHub Actions workflow is configured to publish to npm using OpenID Connect. The shared repository’s 7.1 Scorecard gives full marks for code review and its security policy, with weak token permissions and partial branch protection. MPL-2.0 allows commercial use with file-level copyleft, and the number of people with release access remains unclear.

## Good

- Playwright's official accessibility guide recommends it, with documented patterns for fixtures, tags, include and exclude.
- It runs the axe-core rule engine in a real browser, so rules that need rendering, such as color contrast, work.
- It has one dependency (axe-core), ships its own types, has no known advisories, and Deque releases it in step with axe-core.
- The AxeBuilder API is small and well covered in tutorials, so AI agents write correct code for it easily.

## Bad

- It only works with Playwright, and it inherits axe's limit of catching only a part of WCAG problems.
- Type mismatches between AxeBuilder and the Page type of @playwright/test have stayed open for a long time (#1087, #1279).
- Iframes, sandboxed frames and legacy mode keep producing bugs, such as hangs, broken video recording and pause failures.
- Recent releases mostly bump axe-core, and the Playwright adapter itself gets few new features.

## The numbers

- Downloads, 4 weeks: 95M
- In a year: ×21
- GitHub stars: 738
- Commits, 12 months: 136
- Last npm release: Oct 2026
- Advisories, 24 months: 0
- Licence: MPL-2.0
- GitHub: https://github.com/dequelabs/axe-core-npm
- npm: https://www.npmjs.com/package/@axe-core/playwright

The repository holds all of Deque’s npm packages for axe-core.

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
