/a11y-scan
Scan web application components for accessibility violations against WCAG guidelines.
$ npx -y skills add rohitg00/awesome-claude-code-toolkit --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/a11y-scan
Context preview
What this command does when you run it.
Scan web application components for accessibility violations against WCAG guidelines.
Command definition
a11y-scan.mdname: a11y-scan
description: Scan web application components for accessibility violations against WCAG guidelines.
Scan web application components for accessibility violations against WCAG guidelines.
Steps
1. Identify the target: component file, page, or entire project. 2. Scan for common WCAG 2.1 violations:
- **Perceivable**: Images without alt text, videos without captions, low color contrast.
- **Operable**: Non-keyboard-accessible elements, missing focus indicators, no skip links.
- **Understandable**: Missing form labels, no error descriptions, inconsistent navigation.
- **Robust**: Invalid HTML, missing ARIA roles, incorrect heading hierarchy.
3. Check component-level issues:
- Interactive elements (buttons, links) without accessible names.
- Custom components missing ARIA roles and states.
- Dynamic content updates without live region announcements.
- Modal dialogs without focus trapping.
4. Check form accessibility:
- Labels associated with inputs via `htmlFor`/`id` or wrapping.
- Error messages linked to inputs via `aria-describedby`.
- Required fields marked with `aria-required`.
5. Classify findings by WCAG level (A, AA, AAA) and severity. 6. Provide specific fix instructions for each violation.
Format
Accessibility Scan: <scope>
Violations: <N> (A: <n>, AA: <n>, AAA: <n>)
WCAG A (must fix):
- <file>:<line> - <element> missing alt text (1.1.1)
- <file>:<line> - <element> not keyboard accessible (2.1.1)
WCAG AA (should fix):
- <file>:<line> - contrast ratio 3.2:1, needs 4.5:1 (1.4.3)
Passing:
- Heading hierarchy is correct
- Language attribute is set
Rules
- Prioritize WCAG A violations (legal compliance baseline).
- Provide the specific WCAG criterion number for each violation.
- Include fix code snippets, not just descriptions.
- Check both static HTML/JSX and dynamically generated content.
- Test with screen reader considerations (not just automated rules).
Read more
name: a11y-scan description: Scan web application components for accessibility violations against WCAG guidelines.
Scan web application components for accessibility violations against WCAG guidelines.
Steps
1. Identify the target: component file, page, or entire project. 2. Scan for common WCAG 2.1 violations:
- **Perceivable**: Images without alt text, videos without captions, low color contrast.
- **Operable**: Non-keyboard-accessible elements, missing focus indicators, no skip links.
- **Understandable**: Missing form labels, no error descriptions, inconsistent navigation.
- **Robust**: Invalid HTML, missing ARIA roles, incorrect heading hierarchy.
3. Check component-level issues:
- Interactive elements (buttons, links) without accessible names.
- Custom components missing ARIA roles and states.
- Dynamic content updates without live region announcements.
- Modal dialogs without focus trapping.
4. Check form accessibility:
- Labels associated with inputs via `htmlFor`/`id` or wrapping.
- Error messages linked to inputs via `aria-describedby`.
- Required fields marked with `aria-required`.
5. Classify findings by WCAG level (A, AA, AAA) and severity. 6. Provide specific fix instructions for each violation.
Format
Accessibility Scan: <scope> Violations: <N> (A: <n>, AA: <n>, AAA: <n>) WCAG A (must fix): - <file>:<line> - <element> missing alt text (1.1.1) - <file>:<line> - <element> not keyboard accessible (2.1.1) WCAG AA (should fix): - <file>:<line> - contrast ratio 3.2:1, needs 4.5:1 (1.4.3) Passing: - Heading hierarchy is correct - Language attribute is set
Rules
- Prioritize WCAG A violations (legal compliance baseline).
- Provide the specific WCAG criterion number for each violation.
- Include fix code snippets, not just descriptions.
- Check both static HTML/JSX and dynamically generated content.
- Test with screen reader considerations (not just automated rules).
The most comprehensive toolkit for Claude Code -- 135 agents, 35 curated skills (+400,000 via SkillKit), 42 commands, 176+ plugins, 20 hooks, 15 rules, 7 templates, 15 MCP configs, 26 companion apps, 53 ecosystem entries, and more.
Repo: rohitg00/awesome-claude-code-toolkit
Other commands on rohitg00-claude-code-toolkit.
- /adr
Write an Architecture Decision Record documenting a significant technical decision.
Open command - /design-review
Conduct a structured design review of a module, feature, or system component.
Open command - /diagram
Generate Mermaid diagrams from codebase analysis or description.
Open command - /migrate
Plan and execute a framework or library migration incrementally.
Open command - /plan
Create a structured implementation plan for the requested feature or change.
Open command - /refactor
Perform a systematic refactoring of the specified code area.
Open command

