| name | a11y-audit |
| description | Audit a component for WCAG AA accessibility compliance |
| argument-hint | ["component-path-or-folder"] |
| context | fork |
| agent | general-purpose |
| allowed-tools | Read, Grep, Glob |
Accessibility Audit: $ARGUMENTS
If $ARGUMENTS is empty, ask the user for a component path or folder before proceeding.
Audit the component(s) at $ARGUMENTS for WCAG AA compliance. Check both the component implementation and its documentation examples.
Checklist
1. Semantic HTML
2. ARIA Attributes
3. Keyboard Navigation
4. Focus Management
5. Color and Contrast
6. Screen Reader Compatibility
7. Documentation Examples
Output
## A11y Audit: [component name]
**Compliance:** PASS / PARTIAL / FAIL
### Critical (WCAG A — must fix)
- [file:line] Issue description — WCAG criterion
### Major (WCAG AA — should fix)
- [file:line] Issue description — WCAG criterion
### Minor (best practice)
- [file:line] Issue description
### Recommendations
- Suggested improvements for better accessibility