All skills
Skillintermediate
/run-audit - Run Accessibility Audit
Execute a comprehensive accessibility audit against WCAG guidelines.
Claude Code Knowledge Pack7/10/2026
Overview
/run-audit - Run Accessibility Audit
Execute a comprehensive accessibility audit against WCAG guidelines.
Steps
- Ask the user for the target URL or component to audit
- Configure the audit scope: WCAG 2.1 Level A, AA, or AAA
- Run automated accessibility scanning using axe-core or similar engine
- Check all WCAG success criteria applicable to the content type
- Test keyboard navigation: all interactive elements reachable and operable
- Verify focus management: visible focus indicators, logical focus order
- Check ARIA usage: proper roles, states, properties, and landmark regions
- Validate heading hierarchy: logical order without skipping levels
- Test color contrast ratios: 4.5:1 for normal text, 3:1 for large text
- Check form accessibility: labels, error messages, required field indicators
- Verify media accessibility: alt text, captions, audio descriptions
- Compile findings into a prioritized report by impact level
Rules
- Test against WCAG 2.1 AA as the minimum standard
- Automated tools catch about 30% of issues; note that manual testing is also needed
- Prioritize issues by user impact: critical (blocks access), serious, moderate, minor
- Include WCAG success criterion reference for each finding
- Test with actual assistive technology when possible (VoiceOver, NVDA)
- Do not flag decorative images that correctly have empty alt attributes
- Include remediation guidance with each finding