This skill combines pinned axe-core and pa11y checks with manual keyboard, screen reader, and visual testing. It guides users through triaging findings, fixing root causes, and verifying the results before shipping. It is for existing interfaces, not building new UI components from scratch.
88%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Low
Low-risk findings worth noting
Accessibility is not a polish step — it's a legal requirement in many jurisdictions, an engineering quality standard, and a prerequisite for shipping. This skill audits existing interfaces, triages the findings, and remediates verified violations. The goal is WCAG 2.2 AA compliance supported by automated tools and manual testing.
Do NOT use for building new UI components from scratch; use frontend-ui-engineering for construction guidance. Do not use for backend-only changes, CLIs, or library code with no UI output.
For component construction, interaction patterns, and focus-management guidance, use ../frontend-ui-engineering/SKILL.md. Do not restate that skill here. Return to this workflow once an interface exists and needs auditing or remediation.
Execute accessibility checks in this order:
# axe-core rules through pinned @axe-core/cli (the axe-core package ships no CLI)
npx --yes @axe-core/cli@4.13.0 http://localhost:3000 --exit
# Keep the JSON for the accessibility-auditor
npx --yes @axe-core/cli@4.13.0 http://localhost:3000 --dir ./a11y-reports --save axe.json
# Pinned pa11y for HTML validation (WCAG2AA rules via HTML_CodeSniffer)
npx --yes pa11y@9.1.1 http://localhost:3000For a combined report, resolve scripts/audit-a11y.sh relative to this skill's directory, then run bash "<absolute-skill-directory>/scripts/audit-a11y.sh" url <url> --json. Replace <absolute-skill-directory> with the absolute path to the directory containing this loaded SKILL.md; a plugin or per-skill install may place it outside the project being audited. It runs both pinned tools, records their status and versions, and fails rather than reporting a clean result when either tool does not produce a valid report.
Review the violations grouped by severity:
For each violation, verify it's a real issue (not a false positive) by inspecting the element in the browser.
Automated checks are a smoke test, not proof of conformance. Complete the audit manually.
Keyboard audit:
Screen reader audit (VoiceOver on macOS, NVDA on Windows):
Visual audit:
For each finding, apply the remediation in order:
<div> with <button>, add <label>, set alt textApply the accessibility checklist (references/shared/accessibility-checklist.md) as a minimal baseline.
| Rationalization | Reality |
|---|---|
| "We'll fix a11y later" | Delayed remediation compounds across components and can create legal liability. Audit before shipping. |
| "Automated tools caught everything" | Automated checks cannot prove keyboard or screen reader behavior. Manual testing is mandatory. |
| "Screen reader users are a tiny minority" | Accessibility is a requirement, not a usage-share calculation. Keyboard navigation, captions, and clear structure also help users across contexts. |
| "This is an internal tool, it doesn't need a11y" | Internal tools are subject to the same regulations. Disabled employees and contractors need access. |
| "I'll just use aria-label everywhere" | ARIA is a bridge, not a foundation. Semantic HTML first. Overusing ARIA creates maintenance burden and can make things worse. |
| "The design system handles accessibility" | Design systems provide accessible primitives. How you compose them determines whether the result is accessible. |
| "The audit passed axe-core, so we're done" | Pass axe-core as a smoke test, then test with screen readers and keyboard. A green lighthouse score is not a clean bill of health. |
alt text on meaningful images (or alt="" missing on decorative ones)references/shared/accessibility-checklist.md — Quick reference for WCAG 2.2 AA../frontend-ui-engineering/SKILL.md — Building accessible components from the start../../agents/accessibility-auditor.md — Dedicated a11y audit persona for deep reviewsAfter completing the accessibility workflow:
manual and untested — never reported as verified)alt textaddyosmani/agent-skills
e997ac5
npxnpx @axe-core/clinpx pa11ybashaxe-core/clipa11ybrowserVoiceOverNVDAhttp://localhost:3000If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.