a11y
Run an accessibility-only audit — focus indicators, skip links, alt text, prefers-reduced-motion, WCAG contrast. Scoped variant of /ui-ux-suite:audit.
/ui-ux-suite:a11y — Accessibility-only audit
Scoped audit on accessibility fundamentals.
What you do
- Resolve project path.
- Call
uiux_audit_runwithdimensions: ["accessibility"]. Passdepth: "deep"if the user included--deepANDbaseUrlis known — this triggers optional Playwright + axe-core live scanning (requires opt-in peer deps). - If peer deps for
--deepare missing, print the exact install hint:npm i -D playwright-core @axe-core/playwright && npx playwright install chromium, then fall back to static analysis. - Present the accessibility section of the markdown report.
- Rank findings by WCAG severity (critical violations first).
What a11y audit covers
- Visible focus indicators (
:focus-visiblestyling) - Skip-to-content links
- Alt text on images
prefers-reduced-motionsupport- ARIA label coverage (rough signal)
- WCAG contrast failures
- Landmark roles (in
--deepmode) - Touch-target sizing (in
--deepmode, flags < 44x44)
Keep it honest — if we can only scan statically, say so. Static analysis cannot catch dynamic violations (collapsed layouts, invisible focus rings on hover states). --deep catches those.