accessibility-review
Audit for WCAG 2.1 AA compliance including keyboard navigation, ARIA usage, color contrast, and screen reader support. Use when building UI components, reviewing forms, or checking accessibility of new features.
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
Accessibility Review
Audit components and pages for WCAG 2.1 AA compliance as specified in AGENTS.md.
Scope
Review the specified files for:
1. Semantic HTML
- Proper heading hierarchy (h1 -> h2 -> h3, no skipping)
- Use of semantic elements (nav, main, article, section, aside)
- Lists for list content (ul, ol, dl)
- Buttons for actions, links for navigation
- Tables with proper headers and scope
2. Keyboard Accessibility
- All interactive elements focusable
- Logical tab order
- Visible focus indicators (check for
outline-nonewithout replacement) - No keyboard traps
- Skip links for navigation
- Escape key closes modals/dialogs
3. ARIA Usage
- ARIA only when semantic HTML insufficient
- Proper ARIA roles, states, and properties
- ARIA labels on icon-only buttons
- Live regions for dynamic content
- Proper dialog/modal ARIA patterns
4. Forms
- Labels associated with inputs (htmlFor/id or wrapping)
- Error messages linked to fields (aria-describedby)
- Required fields indicated (aria-required)
- Fieldset/legend for radio/checkbox groups
- Autocomplete attributes where appropriate
5. Visual Design
- Color contrast ratios (4.5:1 text, 3:1 UI components)
- Not relying on color alone for meaning
- Respects
prefers-reduced-motion - Respects
prefers-color-scheme - Text resizable to 200% without loss
6. Images & Media
- Alt text on images (empty alt="" for decorative)
- Captions/transcripts for video/audio
- No auto-playing media with sound
7. Component-Specific (shadcn/Radix)
- Radix primitives used correctly (they handle a11y)
- Custom overrides don't break accessibility
- Tooltips accessible to keyboard users
- Dropdown menus with proper ARIA
Output Format
For each finding:
[WCAG: 1.1.1|2.1.1|etc] [LEVEL: A|AA|AAA]
File: path/to/component.tsx:lineNumber
Issue: Brief description
Impact: Who is affected and how
Fix: Code example or recommendation
Actions
- Read component files in scope
- Check for Radix/shadcn primitive usage
- Verify keyboard interaction patterns
- Analyze color usage and contrast
- Review form patterns
Post-Review
Generate:
- Findings grouped by WCAG principle (Perceivable, Operable, Understandable, Robust)
- Priority fixes (Level A before AA)
- Component-specific recommendations
- Testing checklist for manual verification
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-01-20
- Mise à jour de l’index
- 2026-01-26
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!