Axe-Playwright Accessibility Testing
JSON →axe-playwright is a JavaScript/TypeScript library designed to integrate Deque Systems' `axe-core` accessibility testing engine directly into Playwright test suites. As of version `2.2.2`, it offers a streamlined approach to perform automated accessibility checks across all Playwright-supported browsers, including Chromium, Firefox, and WebKit. The package maintains an active development pace with frequent updates, as seen with recent minor releases focused on fixes and improved typings. A key differentiator is its seamless injection of the `axe-core` runtime, eliminating the need for separate `axe-core` installation as it is bundled directly. It provides high-level commands like `injectAxe`, `configureAxe`, and `checkA11y` to simplify the process of setting up and running accessibility audits within Playwright tests, ensuring that accessibility issues can be detected efficiently both on initial page load and after user interactions.
Traffic · last 30 days ↑38% vs prev 7d
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇩🇪 Germany · 🇨🇦 Canada · 🇮🇳 India