adobe/spectrum-web-components/migration-a11y

Claude Code and agent skill by adobe/spectrum-web-components

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Phase 4 of 1st-gen to gen2 component migration. Use to implement WCAG-aligned semantics, ARIA, keyboard support, and focus management, and document accessibility behavior.

Install

npx vskill@latest install adobe/spectrum-web-components/migration-a11y

SKILL.md

The same SKILL.md was published earlier as adobe/spectrum-web-components/migration-a11y.

Migration a11y (Phase 4)

Phase 4 of the 1st-gen → gen2 component migration. The goal is to implement WCAG-aligned behavior — semantics, ARIA, keyboard support, and focus management — and verify it with assistive technology and automated tests.

See also: `accessibility-compliance` for general WCAG 2.2 patterns, ARIA reference, and testing tools.

Mindset

You are an implementer working from evidence, not assumptions. Read the component accessibility specification doc first. Every ARIA attribute you add must be justified by the APG pattern or WCAG criterion. If there is no analysis doc yet, stop and create one using the component-accessibility-specification skill before implementing.

Also read the migration plan at CONTRIBUTOR-DOCS/03_project-planning/03_components/[component]/migration-plan.md when available for must-ship accessibility changes, behavior changes that affect semantics, renamed states or props, and unresolved questions that may impact keyboard or focus behavior. If it is missing, stale, or intentionally incomplete, derive the needed context from source material and call out the missing plan as a risk. See also `migration-plan-contract`.

When to use this skill

  • Phase 3 (migration-api) is complete
  • The user asks to "implement accessibility" or "add a11y" for a component
  • The user asks to add keyboard support, ARIA, or screen reader behavior
  • The user refers to "Phase 4" of the gen2 component migration workstream

When NOT to use

  • Phase 3 is not complete — the public API should be migrated before implementing a11y behavior on top of it
  • You need general WCAG or ARIA reference — use the `accessibility-compliance` skill

How to invoke

  • "Implement accessibility for [component]"
  • "Add a11y for [component]"
  • "Phase 4 for [component] migration"

Workflow

Follow [Phase 4: Accessibility](../../../CONTRIBUTOR-DOCS/03_project-planning/02_workstreams/02_gen2-component-migration/02_step-by-step/01_washing-machine-workflow.md#phase-4-accessibility) in the washing machine workflow doc — it covers what to do, what to check, common problems, and the quality gate for this phase.

Phase 4 often requires TypeScript changes, not only documentation. Common examples:

  • Implement semantics, ARIA, keyboard, and focus management — prefer native HTML semantics; add ARIA only where the analysis specifies; implement keyboard support and focus management (trap in overlays). Test with assistive tech; document in JSDoc.
  • Native vs custom controls — native form control (e.g. Checkbox) → delegatesFocus: true; custom control → manage focus/keyboard, and place the role per forms strategy RFC §3.2: host role for button-like controls and for radio items (reflected attributes, no native input), a rendered wrapper for a container role such as radiogroup, and the native inner control for value-bearing fields. See Checkbox and Radio as reference implementations.
  • `delegatesFocus: true` — If the component wraps a native control in its shadow DOM, add createRenderRoot() returning this.attachShadow({ mode: 'open', delegatesFocus: true }). This routes host focus to the internal native control. Add it in the base class if all subclasses share the same host-wraps-native-control structure.
  • Accessible name forwarding across the shadow boundary — Attributes like aria-label on the host are not automatically visible to the internal control. Forward them in the render template or via a protected helper method (e.g. getResolvedAccessibleName()). If the pattern is shared across multiple like components, put the helper in the base class.
  • Form fields — follow forms strategy RFC §3.6 and §3.7 for the validation anchor and host.focus(), the invalid icon and message precedence, and barring disabled and read-only fields.

If accessibility implementation needs to deviate from the migration plan, follow `migration-plan-contract`.

Security

  • Security scanPassed, 96 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1,541
Repository forks
264
7-day trend score
37

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 19 Oct 2026, a month ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/adobe/spectrum-web-components/migration-a11y/badge)](https://verified-skill.com/skills/adobe/spectrum-web-components/migration-a11y)

Something wrong with this skill or its page? Tell us.