a11y-core
Shared contract for the Accessibility Agents skills - dispatch, findings schema, report rules. Read by skills, never dispatched on its own.
Internal helper: behavioral scans via Playwright for keyboard and state.
$ npx -y skills add Community-Access/accessibility-agents --skill playwright-scanner --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/playwright-scannerContext preview
The summary Claude sees to decide when to auto-load this skill.
Internal helper: behavioral scans via Playwright for keyboard and state.
name: playwright-scanner description: "Internal helper: behavioral scans via Playwright for keyboard and state." license: MIT disable-model-invocation: true user-invocable: false metadata: tier: helper domain: web output: findings effort: low title: Playwright Scanner
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.
**Knowledge domains:** Playwright Testing, Web Severity Scoring
---
When invoked with a URL and scan profile, execute the following tests in order:
1. **Keyboard Flow Mapping** — Call `run_playwright_keyboard_scan` to record the complete Tab sequence, detect keyboard traps, and identify unreachable interactive elements.
2. **Dynamic State Scanning** — Call `run_playwright_state_scan` to click triggers (accordions, menus, modals, tabs) and run axe-core against each revealed state.
3. **Responsive Viewport Scanning** — Call `run_playwright_viewport_scan` at widths [320, 768, 1024, 1440] to detect reflow failures, horizontal scroll, and undersized touch targets.
4. **Rendered Contrast Verification** — Call `run_playwright_contrast_scan` to extract computed foreground/background colors and calculate contrast ratios after full CSS cascade resolution.
5. **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:
When invoked with specific test parameters:
If Playwright is not installed:
If @axe-core/playwright is not installed but Playwright is:
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 | | State Scan | All SC in dynamic states (1.3.1, 4.1.2, etc.) | | Viewport Scan | 1.4.10 Reflow, 2.5.5 Target Size Enhanced, 2.5.8 Target Size Minimum | | 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`.
WCAG 2.2 AA enforcement for agentic coding, as a set of Agent Skills. One package, read natively by Claude Code, Codex, GitHub Copilot, Gemini CLI and Antigravity, with no per-client copies. Models forget accessibility while generating code.
Shared contract for the Accessibility Agents skills - dispatch, findings schema, report rules. Read by skills, never dispatched on its own.
Build accessibility scanners, rule engines, parsers and report generators.
Web UI accessibility lead. Use before writing or changing HTML, JSX, TSX, Vue, Svelte, CSS or templates. Picks specialists and merges their findings.
Compare audits across commits to find new, fixed and regressed issues.
Generate a W3C or EU model accessibility statement from audit results.
GitHub Actions: workflow runs, logs, re-runs and CI failure triage.