accessibility-audit
Accessibility Audit Skill
WCAG-conformance testing of a web application: automated rule scanning against an up-to-date standards engine, manual verification of what that engine can't check by nature, and a report mapped to specific WCAG success criteria — not just a generic bug list.
This skill is dogfood's sibling — it reuses the same persistent-browser driver (../dogfood/scripts/browser-driver.mjs) rather than duplicating it, and adds one thing dogfood doesn't have: an axe command that runs axe-core (the industry-standard, actively-maintained WCAG rule engine used by Deque, Google Lighthouse, and most enterprise a11y tooling) against the current page. axe-core's rules are tagged by WCAG version and level (wcag2a, wcag2aa, wcag21aa, wcag22aa) and updated upstream as the spec evolves — that's the "up-to-date database of standards" this skill relies on, rather than a static hand-maintained checklist. references/wcag-criteria.md is the human-readable companion table (SC numbers, names, levels) used to cite findings by criterion, not a substitute rule source.
See also: USE_CASES.md for trigger phrases and a worked example, and the top-level skills index.
Prerequisites
- One-time setup:
cd ../dogfood/scripts && npm install(pulls inplaywrightandaxe-core; the Chromium binary is pre-installed in this environment already). - A target URL and testing scope from the user, or the defaults below if they don't give one.
Inputs
The user provides: