@axe-core/playwright
A strong pick. 2nd of 7 accessibility checkers.
@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
Overall8.1
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 8.0, likely 7.0 to 8.5
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.
- playwright.dev/docs/accessibility-testing: The official recommendation
- npm downloads ratio: About 21 times growth against a median of 4.1
- github.com/dequelabs/axe-core-npm/issues?q=is%3Aissue+playwright: Lingering frame and type issues
GPT-6.2 Sol: 8.2, likely 7.1 to 9.1
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.
- playwright.dev/docs/accessibility-testing: Official integration covers common regression-testing workflows.
- github.com/dequelabs/axe-core-npm/releases/tag/v4.14.0: Recent stable release includes an axe-core update and publishing maintenance.
- github.com/pa11y/pa11y-ci: Pa11y CI accepts URL lists and sitemaps for site-wide command-line checks.
- github.com/dequelabs/axe-core-npm/issues/1279: Reported type conflicts can add setup work in some projects.
- dependents, peers: Indexed adoption is modest beside the general-purpose axe-core engine.
Needed by many4.9
How many developers need a tool for this job?
Claude Opus 5.5: 5.0, likely 4.0 to 6.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.
- playwright.dev/docs/accessibility-testing: An integration made for Playwright only
- Playwright E2E adoption: Playwright is the most chosen E2E runner for new projects
GPT-6.2 Sol: 4.7, likely 3.6 to 5.8
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.
- webaim.org/projects/million: 2026 study measures detectable accessibility failures across one million home pages.
- survey.stackoverflow.co/2026/technology/data: 24.9% of respondents to the code testing tools question reported using Playwright.
- playwright.dev/docs/accessibility-testing: The adapter runs scans against a Playwright Page.
Helps a lot8.2
How well does it do the job for those who need it?
Claude Opus 5.5: 8.0, likely 7.0 to 9.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.
- playwright.dev/docs/accessibility-testing: Documented API and caveats for exclude and snapshotting
- github.com/dequelabs/axe-core-npm/issues?q=is%3Aissue+playwright: Open issues on iframes, type compatibility and legacy mode
- dev.to/jangwook_kim_e31e7291ad98/why-color-contrast-disappears-when-you-put-axe-core-in-ci-2ak8: The browser tier catches contrast problems that jsdom misses
- npm hasTypes: Ships its own TypeScript types
GPT-6.2 Sol: 8.4, likely 7.3 to 9.3
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.
- playwright.dev/docs/accessibility-testing: Examples cover state readiness, selectors, rule tags, fixtures, and finding details.
- raw.githubusercontent.com/dequelabs/axe-core-npm/v4.14.0/packages/playwright/package.json: Version 4.14.0 declares axe-core 4.14.x and a playwright-core peer.
- github.com/dequelabs/axe-core-npm/issues/1279: Multiple users report Page type conflicts from duplicate Playwright installs.
- github.com/dequelabs/axe-core-npm/blob/develop/packages/playwright/error-handling.md: Deque documents the legacy fallback and its reduced iframe coverage.
- link.springer.com/article/10.1007/s10209-025-01263-x: Independent comparison measures coverage of older axe-core engines in other wrappers.
Holds up over time8.0
Will it still be a good choice in two years?
Claude Opus 5.5: 8.0, likely 7.0 to 9.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.
- github commitsLastYear / releasesLastYear: 136 commits and 5 releases in the last year
- github.com/dequelabs/axe-core-npm/releases: Regular releases through 4.14.0 in October 2026
- scorecard Maintained: Maintained check scores 10
GPT-6.2 Sol: 8.0, likely 6.8 to 9.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.
- npm versionsLastYear, npm latestPublishedAt: Six published versions in a year, with the latest in October 2026.
- github commitsLastYear, github contributors, project note: 136 commits and 39 contributors across Deque’s shared npm repository.
- github.com/dequelabs/axe-core-npm/releases/tag/v4.14.0: Deque updated the axe-core engine and maintained the release workflow.
- github.com/dequelabs/axe-core-npm/blob/develop/packages/playwright/README.md: The adapter tracks axe-core’s major and minor versions and promises compatibility in patch releases.
- github.com/dequelabs/axe-core-npm/issues/1279: A package-specific typing report remains open.
Used widely5.8
How many use it, and is that growing?
Claude Opus 5.5: 7.0, likely 5.5 to 8.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.
- npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 94.8M against 4.5M, about 21 times
- medianDownloadsRatio: The median is 4.1, so it is gaining ground
- dependents repos: 401 repositories, a modest and probably low count
GPT-6.2 Sol: 4.5, likely 3.0 to 6.1
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.
- npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, medianDownloadsRatio: About 21 times year-over-year install growth against a 4.1 times median.
- dependents, peers: 401 indexed repositories versus 1,668 for Pa11y and 5,477 for Lighthouse.
- github stars, project note, bluesky posts, hackerNews stories: 738 stars cover the shared repository, with zero matched Bluesky posts or HN stories.
- 2025.stateofjs.com/en-US/libraries/testing: Playwright usage rose among survey respondents, expanding the adapter’s potential audience.
Vouched for7.7
Who stands behind it being good?
Claude Opus 5.5: 7.5, likely 6.5 to 8.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.
- playwright.dev/docs/accessibility-testing: Officially recommended by Playwright
- grafana.com/developers/plugin-tools/e2e-test-a-plugin/accessibility-testing: Grafana's plugin tooling documents its use
- dev.to/subito/how-we-automate-accessibility-testing-with-playwright-and-axe-3ok5: A production team reports how they use it
- hackerNews / bluesky: No direct discussion found
GPT-6.2 Sol: 7.8, likely 6.6 to 8.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.
- playwright.dev/docs/accessibility-testing: Playwright’s official accessibility examples use this package.
- github.com/kubernetes-sigs/headlamp/pull/5413/files: Headlamp merged checks that assert on serious and critical findings.
- github.com/internetarchive/openlibrary/pull/13251/files: Open Library merged the adapter into its end-to-end suite.
- reddit.com/r/reactjs/comments/1r652l3/automated_accessibility_testing: A developer reports finding regressions by scanning individual modal and survey states.
- link.springer.com/article/10.1007/s10209-025-01263-x: Independent research documents what different axe-core versions detected in other tools.
Safe8.3
How safe is it to depend on?
Claude Opus 5.5: 8.5, likely 7.5 to 9.0
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.
- advisories total: 0 advisories
- npm dependencies: 1 dependency
- scorecard score: 7.1, with Token-Permissions at 0
- npm license: MPL-2.0
GPT-6.2 Sol: 8.0, likely 6.8 to 9.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.
- advisories total, scorecard score, scorecard checks: Zero recorded advisories, with token permissions at 0 and branch protection at 5.
- raw.githubusercontent.com/dequelabs/axe-core-npm/v4.14.0/packages/playwright/package.json: Declares axe-core as its sole direct runtime dependency and Playwright as a peer.
- raw.githubusercontent.com/dequelabs/axe-core-npm/v4.14.0/.github/workflows/deploy.yml: The production workflow uses npm’s registry environment and OIDC permissions.
- mozilla.org/en-US/MPL/2.0/FAQ: Mozilla explains file-level copyleft and compatibility with proprietary code.
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
- npm downloads, 4 weeks
- 95M ×21 in a year
- GitHub stars
- 738
- Commits, 12 months
- 136
- npm version
- 4.14.0 Oct 2026
- Versions, 12 months
- 6
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- 7.1 out of 10, Nov 2026
- Licence
- MPL-2.0
The repository holds all of Deque’s npm packages for axe-core.
Read on 21 November 2026 from GitHub (dequelabs/axe-core-npm), npm (@axe-core/playwright), OSV and the OpenSSF Scorecard.
Accessibility checkers
- 9.0axe-core
- 8.1@axe-core/playwright
- 6.8Lighthouse
- 6.4IBM Equal Access Checker
- 6.1Pa11y
- 6.1Unlighthouse
- 5.6eslint-plugin-jsx-a11y