accessibility
Installation
SKILL.md
Accessibility Audit Skill
Perform a WCAG 2.2 Level AA accessibility audit on the provided code. Fix every violation found.
What to Check
Perceivable
- Color contrast: Body text ≥ 4.5:1, large text (18pt+ or 14pt bold+) ≥ 3:1, UI components ≥ 3:1
- Non-text content: All
<img>,<svg>,<canvas>have meaningfulaltoraria-label, oralt=""if decorative - Info not conveyed by color alone: Don't use only red/green to indicate error/success — add icons or text
- Captions/transcripts: Video/audio content needs captions
Operable
- Keyboard navigation: Every interactive element reachable by Tab, activated by Enter/Space
- Focus management: Visible focus ring on all focusable elements (never
outline: nonewithout replacement) - No keyboard traps: User can always Tab out of modals/dropdowns
- Skip navigation: Long pages need a "Skip to main content" link
- Target size: Interactive elements ≥ 44×44 CSS pixels