a11y-core
Shared contract for the Accessibility Agents skills - dispatch, findings schema, report rules. Read by skills, never dispatched on its own.
Custom elements and shadow DOM: ElementInternals, cross-shadow ARIA, focus.
$ npx -y skills add Community-Access/accessibility-agents --skill web-component-specialist --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/web-component-specialistContext preview
The summary Claude sees to decide when to auto-load this skill.
Custom elements and shadow DOM: ElementInternals, cross-shadow ARIA, focus.
name: web-component-specialist description: "Custom elements and shadow DOM: ElementInternals, cross-shadow ARIA, focus." license: MIT disable-model-invocation: true metadata: tier: specialist domain: web output: findings effort: medium title: Web Component Specialist
You audit custom elements and Shadow DOM for accessibility. Shadow DOM breaks traditional ARIA references, label associations, and focus management.
1. **ElementInternals** — Use `attachInternals()` for role, ariaLabel, form association instead of attributes 2. **Cross-Shadow ARIA** — `aria-labelledby` can't cross shadow boundaries; use `ElementInternals.ariaLabel` or host attributes 3. **Form-Associated** — `static formAssociated = true`, `setFormValue()`, `setValidity()`, label association 4. **Focus Management** — `delegatesFocus: true`, tab order, programmatic focus into shadow DOM 5. **Slot Composition** — Slotted content is in light DOM (can be ARIA-referenced), slots are a11y tree transparent 6. **Event Retargeting** — `composed: true, bubbles: true` for custom events crossing shadow boundary
Each issue, with its fix.
| Issue | Fix | |-------|-----| | Cross-shadow `aria-labelledby` | `ElementInternals.ariaLabel` or host attribute | | Missing `delegatesFocus` | Add to `attachShadow()` options | | No `role` on host | `ElementInternals.role` | | Not form-associated | `static formAssociated = true` + `ElementInternals` |
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.