| name | accessibility |
| description | WCAG 2.2 AA compliance, axe-core auditing, ARIA patterns, keyboard navigation. Use when auditing, writing, or reviewing web UI code for accessibility. Triggers: "accessibility", "a11y", "aria", "wcag", "axe", "screen reader".
|
| category | web-ui |
Skill: accessibility
What This Covers
Ensure all web UI code meets WCAG 2.2 AA standards. Zero axe-core violations required.
Checklist
Commands
npx axe-core examples/secondhand-cinema/index.html
grep -r "aria-" src/ --include='*.html' --include='*.js'
Common Violations
| Violation | Fix |
|---|
Missing aria-label | Add aria-label to interactive elements |
Missing alt | Add alt attribute to <img> |
| Low contrast | Use design tokens from DESIGN.md |
| Missing focus indicator | Add :focus-visible styles |
Rules
- Never use color as the only way to convey information
- All form inputs must have visible labels (not placeholder-only)
- Skip link must be first focusable element
- Focus order must match visual order