accessibility-audit
Installation
SKILL.md
Instructions
Audit the user’s React / Next.js UI for WCAG 2.2 Level AA compliance. Read-only - produce a report, do not edit files unless the user explicitly asks.
When to Use
- Use for WCAG 2.2 AA audits with file:line findings on React/Next UIs.
- Prefer
semantic-html-cssfirst if landmarks/headings are missing. - Prefer
web-design-guidelinesfor SkillCodex doc UI builds.
Audit steps
- Color contrast - text and UI components (normal text 4.5:1, large text 3:1, UI components 3:1). Flag token pairs from Tailwind/className when hex is inferable.
- ARIA and semantics - interactive elements without accessible names; duplicate IDs; incorrect roles; icon-only buttons missing
aria-label. - Keyboard - focus order, visible focus styles, focus traps in modals, skip links for main content.
- Images - missing
alt, emptyalton informative images, decorative images that should bealt="". - Forms -
<label>association,aria-describedbyfor errors, error text not color-only. - Motion - respect
prefers-reduced-motionwhere animations exist.