
accessibility-audit
by namesreallyblank
Clorch — Claude Orchestrator. Parallel agent orchestration for Claude Code with 500+ skills, 37+ specialist agents, 100+ hooks. Features RLM (Recursive Language Model), session memory, context management, and multi-agent workflows. Transform Claude Code from assistant to operating system.
SKILL.md
name: accessibility-audit description: Automated accessibility testing via Playwright MCP and axe-core requires_mcp: playwright integrates_with:
- playwright-automation
- web-design-guidelines
Accessibility Audit
Automated WCAG compliance checking using Playwright MCP.
Quick Audit
// Run via playwright_evaluate
const axe = await import('https://cdnjs.cloudflare.com/ajax/libs/axe-core/4.8.4/axe.min.js');
const results = await axe.run();
return results.violations;
WCAG Levels
| Level | Requirement | Examples |
|---|---|---|
| A | Must have | Alt text, keyboard nav, form labels |
| AA | Should have | Color contrast 4.5:1, resize to 200% |
| AAA | Nice to have | Contrast 7:1, sign language |
Target: AA compliance (legal standard)
Common Issues & Fixes
1. Missing Alt Text
<!-- Bad -->
<img src="hero.jpg">
<!-- Good -->
<img src="hero.jpg" alt="Team collaborating in modern office">
2. Poor Color Contrast
/* Bad: 2.5:1 ratio */
color: #999 on #fff;
/* Good: 4.6:1 ratio */
color: #767676 on #fff;
3. Missing Form Labels
<!-- Bad -->
<input type="email" placeholder="Email">
<!-- Good -->
<label for="email">Email</label>
<input type="email" id="email">
4. No Focus Indicators
/* Bad */
:focus { outline: none; }
/* Good */
:focus { outline: 2px solid var(--primary); outline-offset: 2px; }
5. Missing Skip Links
<a href="#main" class="skip-link">Skip to content</a>
6. Insufficient Touch Targets
/* Minimum 44x44px */
button { min-height: 44px; min-width: 44px; }
Audit Workflow
- Navigate:
playwright_navigateto target URL - Get Tree:
playwright_get_contentfor accessibility tree - Run axe:
playwright_evaluatewith axe-core - Screenshot: Capture current state
- Report: Categorize by severity and WCAG level
Playwright MCP Commands
Navigate to [URL] and run an accessibility audit
Get the accessibility tree of this page
Check color contrast on all text elements
Find all images missing alt text
List all form inputs without labels
Severity Levels
| Severity | Impact | Action |
|---|---|---|
| Critical | Blocks users completely | Fix immediately |
| Serious | Major barriers | Fix before release |
| Moderate | Some difficulty | Fix soon |
| Minor | Inconvenience | Fix when possible |
Tools Integration
- axe-core: Automated scanning
- Playwright: Browser automation
- Lighthouse: Accessibility score
- WAVE: Visual feedback (manual)
Checklist
- All images have alt text
- Color contrast meets 4.5:1
- All forms have labels
- Keyboard navigation works
- Focus indicators visible
- Skip links present
- Headings in order (h1->h2->h3)
- ARIA used correctly
- No keyboard traps
- Error messages announced
Score
Total Score
Based on repository quality metrics
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
3ヶ月以内に更新がある
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
Reviews
Reviews coming soon