A Claude Code skill for running comprehensive accessibility audits on web projects.
Add to your Claude Code skills configuration:
{
"skills": {
"accessibility": {
"source": "~/Projects/claude-a11y-skill/skill.md",
"triggers": ["accessibility", "a11y"]
}
}
}Or reference it in your .claude/settings.json:
{
"skills": ["~/Projects/claude-a11y-skill/skill.md"]
}Invoke the skill with any of these triggers:
/accessibilityor/a11y- "Run an accessibility scan"
- "Check WCAG compliance"
- "Audit accessibility"
| Mode | Method | Best For |
|---|---|---|
runtime |
axe-core via browser | Full WCAG compliance testing with real DOM |
static |
eslint-plugin-jsx-a11y | Fast CI/build-time checks for React/Next.js |
full |
Both combined | Most comprehensive coverage |
- WCAG 2.1 Level A — Basic accessibility requirements
- WCAG 2.1 Level AA — Standard compliance target
- Best Practices — Additional recommendations beyond WCAG
- Missing alt text on images
- Insufficient color contrast
- Incorrect heading hierarchy
- Missing form labels
- Content outside landmark regions
- Invalid ARIA attributes
- Missing keyboard accessibility
- Focus management issues
- Runtime mode: Browser automation tools (Claude in Chrome MCP) + dev server
- Static mode:
eslint-plugin-jsx-a11y(auto-installed if missing) - Full mode: Both of the above