
Accessibility Audit
FreeIdentify and resolve WCAG 2.2 accessibility issues.
Free · Opens the source repo
What Accessibility Audit does
The Accessibility Audit skill is designed to help developers and designers identify and fix accessibility issues in accordance with WCAG 2.2 standards. It operates in two distinct modes: report and fix. In report mode, the skill sweeps through a codebase or webpage, generating a prioritized written report that details accessibility violations without making any edits. This mode is particularly useful for obtaining a comprehensive overview of accessibility issues that need attention. In fix mode, the skill not only identifies issues but also facilitates an audit-edit-verify loop, allowing users to directly edit the code to resolve the identified problems.
The skill prefers to conduct audits using direct Chrome DevTools Protocol (CDP) live-DOM auditing, ensuring that it captures issues that static analysis might miss. If live auditing is not possible, it can fall back to using a browser-MCP composition or auditing raw HTML strings. This flexibility allows for effective auditing across different scenarios, whether you're working with a live application or static HTML files.
Accessibility is a critical aspect of web development, and this skill is particularly valuable for teams aiming to enhance their applications' usability for all users, including those with disabilities. By using this tool, developers can ensure compliance with accessibility standards, ultimately leading to a better user experience and broader audience reach.
When to use it
Use this skill when you need to find and fix accessibility issues in a codebase or webpage, either through a detailed report or by directly editing the code.
When not to use it
This skill may not be suitable for simple accessibility checks or when manual review is preferred, as it relies on automated processes that may miss nuanced issues.
What you can build with it
Conducting an Accessibility Audit
Use the report mode to scan a web application and receive a detailed report of accessibility issues.
Fixing Accessibility Violations
Switch to fix mode to directly edit code based on the identified accessibility issues and verify the changes.
Reviewing Codebase for Compliance
Run a comprehensive audit on a directory path to ensure all components meet WCAG 2.2 standards.
How to install Accessibility Audit
View source1. Install with the skills CLI
npx skills add sickn33/agentic-awesome-skills/accesslint-audit --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by sickn33You audit accessibility and optionally fix what's broken.
When to Use
- Use this skill when the task matches this description: Find and fix WCAG 2.2 accessibility issues. Two modes — report (sweep a codebase or page, produce a prioritized written report, no edits) and fix (audit→edit→verify loop on a target). Prefers direct-CDP live-DOM auditing; falls back to a browser-MCP composition or HTML-string audits.
Pick a mode from the user's intent
- Report mode — "audit my codebase", "review src/components/", "what's wrong with this page?", "give me an a11y report". You audit + write a report. You do not edit files.
- Fix mode — "fix the a11y issues in X", "audit and fix", "make this accessible", "verify the contrast fix landed", or hands you a violation report and asks to apply it. You audit → edit → verify.
If unsure, ask. Don't default-to-fix when the user only asked for an audit.
For very large sweeps where main-thread context cost matters, you can be invoked via Task (general-purpose agent) for context isolation. The recipe is the same either way.
Picking a flow
Three flows, in order of preference.
audit_live— try first for any URL. Connects to a running Chrome debug session, or auto-launches Chrome minimized — no user setup needed. Single call; IIFE bytes don't enter your context.audit-live-pageprompt — use when the user needs their existing browser session audited (authenticated app, specific state) and a browser MCP (chrome-devtools-mcp, playwright-mcp, puppeteer-mcp) is connected. Invoke viaSkillwithmode: "fix"ormode: "plan".audit_html— for raw HTML strings, files (Readfirst, thenaudit_html), or JSX you've rendered to a string. Pair withaudit_diff({ html })for fix-mode verification.
For non-URL targets, skip straight to flow 3. For URLs, try flow 1; on auto-launch failure, try flow 2 if a browser MCP is connected; otherwise fall back to flow 3 with a note that live-DOM coverage is limited.
Scope handling (report mode)
- Directory path — analyze all relevant files within.
- Multiple files — analyze the listed files plus imports they reach.
- A URL — audit it. If it's a dev-server URL, that's flow 1 or 2.
- No arguments — ask the user to narrow scope. Whole-codebase sweeps are rarely the right thing.
State the scope explicitly at the start of your report.
Approach (report mode)
- Map the surface. Glob/Grep to enumerate components, templates, styles. Sample representative files; don't open everything blindly.
- Audit live where possible — the rendered DOM catches issues source can't show. Use the flow picker above.
- Look for patterns. If one component fails a rule, similar components likely do too. Group by rule ID and component family — don't list 30 instances of the same issue 30 times.
- Prioritize by user impact. Critical/serious first. Many low-impact violations of one rule are often a single root-cause fix.
- Use
format: "compact"for sweep-time calls. Reserve verbose output for rules you'll expand in the report. - Trust
Source:lines. Live-DOM audits against React dev builds attachSource: <file>:<line> (Symbol)per violation via DevTools fibers. Use it as the file pointer instead of grepping selectors. Fall back to stable hooks → visible text → tree position when absent. - Stop and ask if a single audit returns more than ~50 violations — a 200-violation report isn't actionable.
The engine catches what's mechanically detectable. Manual judgment is needed for content clarity, screen-reader announcement quality, keyboard flow coherence, and complex visual contrast — flag those for human review, don't guess.
Report format
# Accessibility audit — <scope>
## Summary
- N critical, M serious, K moderate, J minor (after deduplication)
- Most impactful patterns: <one-line each, max 3>
## Critical (blocks access)
For each pattern:
- **Pattern**: <one-line description>
- **WCAG**: <ID> — <name>
- **Affected files**: <file:line> (×N if repeated)
- **Fix**: <directive from engine output, or specific code change>
- **Why critical**: <user impact>
## Serious
[same shape]
## Moderate / Minor
[Bullet list, deduplicated by rule. Skip per-instance detail unless the fix differs.]
## Recommendations
- Architectural / pattern-level changes that would prevent recurrence.
- Tooling or component abstractions worth introducing.
- What to verify manually (screen reader, keyboard, low-vision testing).
## Positive findings
What the codebase does well — short, factual, reinforces practices to keep.
Include rule IDs in every entry. Quote the Fix: directive verbatim for mechanical rules. For visual / contextual, leave a TODO with the rule ID; don't invent content.
Recipe (fix mode)
- Baseline. Audit with
name: "before"andformat: "compact". - Plan + apply. For each violation:
Source:line present → open that file at that line. If multiple are listed (separated by←), the first is the JSX literal; the rest are enclosing components. UseSymbolto disambiguate.- No
Source:→ grep stable hooks (data-testid,id,aria-label), then visible text, then tree position. - The violation's
Fixability:andFix:fields are authoritative — apply mechanical fixes verbatim, leaveTODOs with the rule ID forcontextual/visual. Never invent content. - Group same-file edits into one operation.
- Confirm scope with the user before touching files outside the obvious target, or before more than ~10 mechanical fixes.
- Verify. Run
audit_diff({ audit_name: "before" })against the baseline (or re-baseline with a new name). Confirm-fixedcovers your targets and+newis empty.
Source: lines come from React DevTools fibers and only appear in live-DOM audits against React dev builds. Static audits won't have them — fall back to selectors.
When unsure about a rule, call explain_rule({ id: "<rule-id>" }) for guidance and browserHint.
When to bail (fix mode)
- A violation has no
Fix:directive — leave aTODO, don't guess. - Verification fails (anything in
+new, or a targeted rule missing from-fixed) — name it and stop. Do not iterate silently.
Output (fix mode)
Per cycle: flow used, violations by impact, what was applied (file + rule), what was deferred (TODOs + reasons), final diff.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Frequently asked questions about Accessibility Audit
Similar skills
Playwright Component Testing
Test React and Vue components in isolation with Playwright.
Fluent UI Blazor
Integrate Fluent UI components in Blazor applications effortlessly.
Build MCP App
Create interactive UI widgets for MCP servers.
Web Design Reviewer
Identify and fix design issues in websites efficiently.
Markstream Install
Seamlessly integrate Markstream for Markdown rendering.
GSAP & Framer Scroll Animation
Create advanced scroll animations effortlessly.
