accessibility-audit
/accessibility-audit
Audit a TypeScript and React frontend against an opinionated accessibility baseline organised in three layers — tooling and automation, component patterns, and application shell — then offer to generate an implementation plan for the gaps. Targets WCAG 2.2 Level AA. The audit is fully static: it reads the codebase, never starts the development server, and never runs a live accessibility scanner. Screen-reader behaviour and focus-order verification are explicitly out of scope — they can only be verified reliably by a human.
The default mental model is React (any flavour: Vite, Create React App, Next.js, Remix). Detection is framework-agnostic, with extra hints emitted when Next.js or Remix is present because route-announcement expectations differ.
Usage
/accessibility-audit # default: concise Top 5 + full report saved + ask about plan
/accessibility-audit --worktree # create an isolated Git worktree, then run the audit there
/accessibility-audit --learn # mid-level engineer teaching mode (detailed explanations + file/line examples)
/accessibility-audit --teach # alias for --learn
/accessibility-audit --severity=error # report only violations and missing-required checks
💡 Pro tip: Add --worktree to run this audit in an isolated Git worktree.
This skill never accepts --apply. Mutating the codebase is the responsibility of a separate fix step. The implementation plan is descriptive Markdown.