New axe DevTools Integration: Playwright

Michael Siek

By Michael Siek

June 7, 2021

axeDevTools Playwright Integration

Automation is the key to efficient and affordable accessibility testing. By enabling development teams to automate much of their accessibility testing, we can empower them to find issues faster and resolve them before they ever make it into the codebase. Not only does this require a tool that is accurate and fast, but it also requires a tool that can keep up with the speed at which dev teams adopt new and better tools and testing environments. On that note, the Deque team is pleased to announce our latest integrations: axe DevTools Playwright.

Playwright is a NodeJS library to automate Chromium, Firefox, and WebKit. With Playwright, developers can create scripts to open pages, trigger events, run tests, and lots more. This is great for automated testing and is an increasingly popular alternative to Webdriver.

Axe DevTools Playwright

Axe DevTools Playwright is an integration for Playwright that uses the latest version of axe-core. Axe DevTools Playwright comes with the usual features you have come to expect from axe DevTools, including:

– Multiple rulesets such as WCAG 2.0, Section 508.

– Support for ruleset customization and augmentation.

– Various reporting capabilities such as HTML, JUnit XML.

Code Example: 

const AxeBuilder = require('@axe-devtools/playwright').default
const playwright = require('playwright')

;(async () => {
  const browser = await playwright.chromium.launch({ headless: false })
  const context = await browser.newContext()
  const page = await context.newPage()
  await page.goto('https://dequeuniversity.com/demo/mars/')
  const results = await new AxeBuilder({ page }).analyze()
  // eslint-disable-next-line no-console
  console.log(results)
  await browser.close()
})()

Axe DevTools Playwright is available for Enterprise customers of axe DevTools and requires access from Agora, Deque’s package registry. Customer documentation for axe DevTools Playwright can be found in the axe DevTools Product Guide.

Michael Siek

Michael Siek

Michael is working on axe-core integrations, axe DevTools integrations, and axe-linter. Michael’s goal is to help with digital equality one line of code at a time.

Erhalten Sie Blog-Beiträge direkt in Ihren Posteingang

Kein Geschwafel, sondern echte Erkenntnisse zum Thema Barrierefreiheit von qualifizierten Experten.

Sie erklären sich damit einverstanden, dass Deque Informationen gemäß den Bestimmungen in DequeDatenschutzerklärungbeschrieben, Informationen von Deque entgegennimmt, nutzt und weitergibt. Sie können Ihre Einwilligung jederzeit widerrufen, indem Sie uns kontaktieren.

Mehr zu diesem Thema

Ich bin eine Führungskraft im Bereich Technik. Wie fange ich mit dem Thema Barrierefreiheit an?

Dylan Barrell
28. April 2026 Von Dylan Barrell

Wo sollten Sie als Führungskraft im technischen Bereich, die zum ersten Mal für die digitale Barrierefreiheit zuständig ist, ansetzen? Dieser dreistufige, 90-tägige Plan hilft Ihnen beim Einstieg.

Artikel lesen
Ein leitender Ingenieur bei der Arbeit an seinem Schreibtisch. Das Bild ist von Sprechblasen umgeben, in denen die Begriffe „Compliance“, „Werkzeuge und Tests“, „Entwicklerschulung“ und „Strategie“ zu lesen sind.

Warum falsche Behauptungen und Fehlalarme Programme zur digitalen Barrierefreiheit zunichte machen

Preety Kumar 100 x 150
September 25, 2025 By Preety Kumar

Development teams are at the front lines of digital accessibility. Through the skills they bring, the tools they use, and the processes they embrace, we’re…

Artikel lesen
Ein Entwickler arbeitet an einem Laptop. Der Begleittext lautet: Tools für Barrierefreiheitstests, KI-Innovation, Vertrauen und null Fehlalarme.