comeonoliver/skillshub/a11y-audit
Claude Code and agent skill by comeonoliver/skillshub
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Accessibility audit skill for scanning, fixing, and verifying WCAG 2.2 Level A and AA compliance across React, Next.js, Vue, Angular, Svelte, and plain HTML codebases. Use when auditing accessibility, fixing a11y violations, checking color contrast, generating compliance reports, or integrating accessibility checks into CI/CD pipelines.
Install
npx vskill@latest install comeonoliver/skillshub/a11y-auditSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as comeonoliver/skillshub/a11y-audit.
Accessibility Audit
Name: a11y-audit Tier: STANDARD Category: Engineering - Frontend Quality Dependencies: Python 3.8+ (Standard Library Only) Author: Alireza Rezvani Version: 2.1.2 Last Updated: 2026-03-18 License: MIT
Name
a11y-audit -- WCAG 2.2 Accessibility Audit and Remediation Skill
Description
The a11y-audit skill provides a complete accessibility audit pipeline for modern web applications. It implements a three-phase workflow -- Scan, Fix, Verify -- that identifies WCAG 2.2 Level A and AA violations, generates exact fix code per framework, and produces stakeholder-ready compliance reports.
This skill goes beyond detection. For every violation it finds, it provides the precise before/after code fix tailored to your framework (React, Next.js, Vue, Angular, Svelte, or plain HTML). It understands that a missing alt attribute on an <img> in React JSX requires a different fix pattern than the same issue in a Vue SFC or an Angular template.
What this skill does:
- Scans your codebase for every WCAG 2.2 Level A and AA violation, categorized by severity (Critical, Major, Minor)
- Fixes each violation with framework-specific before/after code patterns
- Verifies that fixes resolve the original violations and introduces no regressions
- Reports findings in a structured format suitable for developers, PMs, and compliance stakeholders
- Integrates into CI/CD pipelines to prevent accessibility regressions
Key differentiators:
- Framework-aware fix patterns (not generic HTML advice)
- Color contrast analysis with accessible alternative suggestions
- WCAG 2.2 coverage including the newest success criteria (Focus Appearance, Dragging Movements, Target Size)
- CI/CD pipeline integration with GitHub Actions, GitLab CI, and Azure DevOps
- Slash command support via
/a11y-audit
Features
Core Capabilities
| Feature | Description | |
|---|---|---|
| Full WCAG 2.2 Scan | Checks all Level A and AA success criteria across your codebase | |
| Framework Detection | Auto-detects React, Next.js, Vue, Angular, Svelte, or plain HTML | |
| Severity Classification | Categorizes each violation as Critical, Major, or Minor | |
| Fix Code Generation | Produces before/after code diffs for every issue | |
| Color Contrast Checker | Validates foreground/background pairs against AA and AAA ratios | |
| Accessible Alternatives | Suggests replacement colors that meet contrast requirements | |
| Compliance Reporting | Generates stakeholder reports with pass/fail summaries | |
| CI/CD Integration | GitHub Actions, GitLab CI, Azure DevOps pipeline configs | |
| Keyboard Navigation Audit | Detects missing focus management and tab order issues | |
| ARIA Validation | Checks for incorrect, redundant, or missing ARIA attributes | |
| Live Region Detection | Identifies dynamic content lacking aria-live announcements | |
| Form Accessibility | Validates label associations, error messaging, and input types |
WCAG 2.2 Coverage Matrix
| Principle | Level A Criteria | Level AA Criteria | |
|---|---|---|---|
| Perceivable | 1.1.1 Non-text Content, 1.2.1-1.2.3 Time-based Media, 1.3.1-1.3.3 Adaptable, 1.4.1-1.4.2 Distinguishable | 1.3.4-1.3.5 Adaptable, 1.4.3-1.4.5 Contrast & Images of Text, 1.4.10-1.4.13 Reflow & Content | |
| Operable | 2.1.1-2.1.2 Keyboard, 2.2.1-2.2.2 Timing, 2.3.1 Seizures, 2.4.1-2.4.4 Navigable, 2.5.1-2.5.4 Input | 2.4.5-2.4.7 Navigable, 2.4.11 Focus Appearance (NEW 2.2), 2.5.7 Dragging (NEW 2.2), 2.5.8 Target Size (NEW 2.2) | |
| Understandable | 3.1.1 Language, 3.2.1-3.2.2 Predictable, 3.3.1-3.3.2 Input Assistance | 3.1.2 Language of Parts, 3.2.3-3.2.4 Predictable, 3.3.3-3.3.4 Error Handling, 3.3.7 Redundant Entry (NEW 2.2), 3.3.8 Accessible Auth (NEW 2.2) | |
| Robust | 4.1.2 Name/Role/Value | 4.1.3 Status Messages |
Severity Definitions
| Severity | Definition | Example | SLA | |
|---|---|---|---|---|
| Critical | Blocks access for entire user groups | Missing alt text on informational images, no keyboard access to primary navigation | Fix before release | |
| Major | Significant barrier that degrades experience | Insufficient color contrast on body text, missing form labels | Fix within current sprint | |
| Minor | Usability issue that causes friction | Redundant ARIA roles, suboptimal heading hierarchy | Fix within next 2 sprints |
Usage
Quick Start
Activate the skill and run an audit on your project:
Slash Command
Use the /a11y-audit slash command for an interactive audit session:
Three-Phase Workflow
Phase 1: Scan
The scanner walks your source tree, detects the framework in use, and applies the appropriate rule set.
Sample output:
Phase 2: Fix
For each violation, apply the framework-specific fix. The skill provides exact before/after code for every issue type.
See the Fix Patterns by Framework section below for the complete fix catalog.
Phase 3: Verify
Re-run the scanner to confirm all fixes are applied and no regressions were introduced:
Verification output:
Examples
Example 1: React Component Audit
Given a React component with multiple accessibility issues:
Violations detected:
| # | WCAG | Severity | Issue | |
|---|---|---|---|---|
| 1 | 1.1.1 | Critical | <img> missing alt attribute | |
| 2 | 2.1.1 | Critical | <div onClick> not keyboard accessible | |
| 3 | 1.4.3 | Major | Color #aaa on white fails contrast (2.32:1, needs 4.5:1) | |
| 4 | 1.4.3 | Major | Color #999 on white fails contrast (2.85:1, needs 4.5:1) | |
| 5 | 4.1.2 | Major | Interactive element missing role and accessible name |
What changed:
<div onClick>replaced with<a href>for native keyboard and screen reader supportaltattribute added to<img>with meaningful fallbackaria-labelprovides full context for assistive technology- Color
#aaareplaced with#595959(7.01:1 contrast ratio -- passes AA and AAA) - Color
#999replaced with#767676(4.54:1 contrast ratio -- passes AA)
Example 2: Vue SFC Form Audit
Violations detected:
| # | WCAG | Severity | Issue | |
|---|---|---|---|---|
| 1 | 1.3.1 | Critical | Inputs missing associated <label> elements | |
| 2 | 3.3.2 | Major | Placeholder text used as only label (disappears on input) | |
| 3 | 2.1.1 | Critical | <div @click> not keyboard accessible | |
| 4 | 4.1.3 | Major | Error message not announced to screen readers | |
| 5 | 3.3.1 | Major | Error not programmatically associated with input |
Example 3: Angular Template Audit
Violations detected:
| # | WCAG | Severity | Issue | |
|---|---|---|---|---|
| 1 | 4.1.2 | Critical | Tab widget missing ARIA roles (tablist, tab, tabpanel) | |
| 2 | 2.1.1 | Critical | Tabs not keyboard navigable (arrow keys, Home, End) | |
| 3 | 2.4.11 | Major | No visible focus indicator on active tab |
This is the start of the file. Read the full SKILL.md on GitHub.
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 repositoryCheckingskills/alirezarezvani/claude-skills/a11y-audit/SKILL.md
Popularity
- Repository stars
- 66
- Repository forks
- 24
- 7-day trend score
- 26
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
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/comeonoliver/skillshub/a11y-audit)