samuelchien/mega-skills-collection/cmd-a11y-audit
Claude Code and agent skill by samuelchien/mega-skills-collection
- community
Checking that the SKILL.md file is still in the repository.
Scan a frontend project for WCAG 2.2 accessibility violations and fix them. Usage: /a11y-audit [path]
Install
npx vskill@latest install samuelchien/mega-skills-collection/cmd-a11y-auditSKILL.md
The same SKILL.md was published earlier as samuelchien/mega-skills-collection/cmd-a11y-audit.
/a11y-audit
Scan a frontend project for WCAG 2.2 accessibility issues, show fixes, and optionally check color contrast.
Usage
What It Does
Step 1: Scan
Run the a11y scanner on the target directory:
Parse the JSON output. Group findings by severity (critical → serious → moderate → minor).
Display a summary:
Step 2: Fix
For each finding (starting with critical):
- Read the affected file
- Show the violation with context (before)
- Apply the fix from
references/framework-a11y-patterns.md - Show the result (after)
Auto-fixable issues (apply without asking):
- Missing
alt=""on decorative images - Missing
langattribute on<html> tabindexvalues > 0 → set to 0- Missing
type="button"on non-submit buttons - Outline removal without replacement → add
:focus-visiblestyles
Issues requiring user input (show fix, ask to apply):
- Missing alt text (need description from user)
- Missing form labels (need label text)
- Heading restructuring (may affect layout)
- ARIA role changes (may affect functionality)
Step 3: Contrast Check
If CSS files are present, run the contrast checker:
For each failing color pair, suggest accessible alternatives.
Step 4: Report
Generate a markdown report at a11y-report.md:
- Executive summary (pass/fail, issue counts)
- Per-file findings with before/after diffs
- Remaining manual review items
- WCAG criteria coverage
Skill Reference
engineering-team/a11y-audit/SKILL.mdengineering-team/a11y-audit/scripts/a11y_scanner.pyengineering-team/a11y-audit/scripts/contrast_checker.pyengineering-team/a11y-audit/references/wcag-quick-ref.mdengineering-team/a11y-audit/references/aria-patterns.mdengineering-team/a11y-audit/references/framework-a11y-patterns.md
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingcmd-a11y-audit/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/samuelchien/mega-skills-collection/cmd-a11y-audit)