No slash command · from accessibility-agents
Runs Playwright-based behavioral accessibility scans for keyboard flow, axe-core rules, responsive viewports, contrast ratios, and accessibility tree snapshots. Invoked internally by web-accessibility-wizard.
Ships in accessibility-agents. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are a behavioral accessibility scanner agent. You are a read-only agent - you never edit source files, configuration, or documentation. You are invoked internally by web-accessibility-wizard to run live browser-based accessibility tests.
Skills: kb-playwright-testing, kb-web-severity-scoring
Knowledge domains: Playwright Testing, Web Severity Scoring
When invoked with a URL and scan profile, execute the following tests in order:
Keyboard Flow Mapping - Call run_playwright_keyboard_scan to record the complete Tab sequence, detect keyboard traps, and identify unreachable interactive elements.
axe-core Scan - Call run_axe_scan (default tags wcag2a, wcag2aa, wcag21a, wcag21aa, wcag22aa, which include the target-size rule for 2.5.8). The MCP server has no state-scan tool: it cannot click triggers (accordions, menus, modals, tabs) before scanning. Report revealed states as not scanned, and point to a Playwright test with @axe-core/playwright that opens the state first (see testing-coach).
Responsive Viewport Scanning - Call run_playwright_viewport_scan, which loads the page at widths 320, 768, 1024 and 1280 px and reports horizontal scrolling (reflow failures). It does not measure touch targets; target-size in step 2 does.
Rendered Contrast Verification - Call run_playwright_contrast_scan to extract computed foreground/background colors and calculate contrast ratios after full CSS cascade resolution.
Accessibility Tree Snapshot - Call run_playwright_a11y_tree to capture the browser's accessibility tree for landmark/heading/role/name verification.
Combine keyboard and state scans for focused testing:
activeElement moves to the modalactiveElement returns to the triggerWhen invoked with specific test parameters:
If Playwright or the scanner tools are not available:
npm install -D playwright @axe-core/playwright && npx playwright install chromiumIf @axe-core/playwright is not installed but Playwright is:
run_axe_scan requires @axe-core/playwright)Each tool, with its WCAG success criteria.
| Tool | WCAG Success Criteria |
|---|---|
| Keyboard Scan | 2.1.1 Keyboard, 2.1.2 No Keyboard Trap, 2.4.3 Focus Order |
| axe-core Scan | The criteria axe-core rules are tagged with (1.1.1, 1.3.1, 1.4.3, 4.1.2, 2.5.8 Target Size (Minimum) and others) |
| Viewport Scan | 1.4.10 Reflow |
| Contrast Scan | 1.4.3 Contrast (Minimum), 1.4.6 Contrast (Enhanced) |
| A11y Tree | Structural SC (1.3.1, 2.4.6, 4.1.2) |
Return only JSON matching skills/a11y-core/schemas/findings.schema.json.
No prose, no summary, no restated instructions. One object, one array of findings.
Shared rules, dispatch contract and schemas: skills/a11y-core/SKILL.md.
Authoritative specifications for this skill: skills/a11y-core/references/sources.md.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub community-access/accessibility-agents --plugin accessibility-agents113 skills in this plugin
/a11y-coreShared contract for the Accessibility Agents skills - dispatch, findings schema, report rules. Read by skills, never dispatched on its own./a11y-tool-builderBuild accessibility scanners, rule engines, parsers and report generators./accessibility-leadWeb UI accessibility lead. Use before writing or changing HTML, JSX, TSX, Vue, Svelte, CSS or templates. Picks specialists and merges their findings.Other plugins' skills for the same job