axe-playwright
Installation
SKILL.md
axe-playwright
Axe finds only part of the WCAG failures. Treat a green scan as "no detectable violations", not as compliance. Keyboard, focus order and screen reader checks stay manual.
Setup
npm i -D @playwright/test @axe-core/playwright
import { test, expect } from '@playwright/test';
import AxeBuilder from '@axe-core/playwright';
Create a new AxeBuilder({ page }) per scan. Do not reuse a builder across pages.