/agent-skills:accessibility-engineeringfrom agent-skills
Audits existing interfaces for WCAG 2.2 AA conformance using axe-core and pa11y, then triages and remediates violations. Use before shipping UI changes or when a11y issues are reported.
Ships in agent-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
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/[email protected] http://localhost:3000 --exit
# Keep the JSON for the accessibility-auditor
npx --yes @axe-core/[email protected] http://localhost:3000 --dir ./a11y-reports --save axe.json
# Pinned pa11y for HTML validation (WCAG2AA rules via HTML_CodeSniffer)
npx --yes [email protected] http://localhost:3000
For 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 textWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
wcag, a11y-audit, axe-core, pa11y, accessibility-remediation
26 skills in this plugin
/api-and-interface-designGuides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing boundaries between frontend and backend./browser-testing-with-devtoolsTests in real browsers via Chrome DevTools MCP. Use when building or debugging anything that runs in a browser. Use when you need to inspect the DOM, capture console errors, analyze network requests, profile performance, or verify visual output with real runtime data. Requires the chrome-devtools MCP server to be configured./ci-cd-and-automationAutomates CI/CD pipeline setup. Use when setting up or modifying build and deployment pipelines. Use when you need to automate quality gates, configure test runners in CI, or establish deployment strategies./code-review-and-qualityConducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another agent, or a human. Use when you need to assess code quality across multiple dimensions before it enters the main branch. Use when asked to review a diff or a pull request, even when the diff is pasted inline and the review looks quick to do from reading it./code-simplificationSimplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but is harder to read, maintain, or extend than it should be. Use when reviewing code that has accumulated unnecessary complexity. Use when asked to simplify, clean up, or reduce the nesting of a function or module that already works, even when the code is pasted inline and nothing else needs to change./constraint-driven-developmentEstablishes a project's quality bar as a written contract and stops agents quietly lowering it. Interviews the user on which dimensions matter, supplies sane default thresholds when they have no number in mind, records everything in CONSTRAINTS.md, and watches the diff for a weakened bar — new @ts-ignore or eslint-disable suppressions, skipped or deleted tests, assertions stripped out, unimplemented stubs, thresholds edited down. Use when no quality bar is written down, when the user says "set up constraints" or "define our standards", when the user wants dimensions they care about — accessibility, web performance, coverage — set up as enforced constraints, when an agent keeps silencing checks or skipping tests to get to green, when you need a coverage or performance threshold and don't know what number to pick, or when an agent writes more code than anyone will read.4 plugins ship this exact skill · first indexed Nov 24, 2026
npx claudepluginhub addyosmani/agent-skills --plugin agent-skillsOther plugins' skills for the same job