Agent skill

Web Component Specialist

by Community-Access in Community-Access/accessibility-agents

Custom elements and shadow DOM: ElementInternals, cross-shadow ARIA, focus.

MITAuto-check passedFrontend & Design

Install Web Component Specialist

skills CLI
$ npx skills add Community-Access/accessibility-agents --skill web-component-specialist -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Community-Access/accessibility-agents web-component-specialist --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Community-Access/accessibility-agents.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/web-component-specialist .claude/skills/web-component-specialist && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
web-component-specialist
GitHub stars
422
Token cost
~464 tokens
SKILL.md length
168 words
Files
2
Skills in repo
108
Repo updated
First seen
Licence
MIT

At a glance

Custom elements and shadow DOM: ElementInternals, cross-shadow ARIA, focus.

  • Works in 6 steps: ElementInternals — Use attachInternals()… → Cross-Shadow ARIA — aria-labelledby… → Form-Associated — static formAssociated… → …
  • Tasks that involve Accessibility
  • SKILL.md covers Web Component Accessibility…, Core Audit Areas, Common Issues and Output contract
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Web Component Specialist is an agent skill from Community-Access/accessibility-agents. Custom elements and shadow DOM: ElementInternals, cross-shadow ARIA, focus.

Its SKILL.md is about 460 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Frontend & Design, covering Accessibility. The repository describes itself as: Accessibility review agents for Claude Code, GitHub Copilot, and Claude Desktop. Eleven specialists that enforce WCAG 2.2 AA compliance so AI coding tools stop generating… The licence is MIT.

When your agent uses it

  • Tasks that involve Accessibility

Example prompts

  • “/web-component-specialist”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  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

What it can do on your machine

Read from SKILL.md and the folder at commit decf6ba. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Web Component Specialist loads about 464 tokens when it runs. Until then it costs about 25 tokens; SKILL.md has 168 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~25
When it runs · the whole SKILL.md, loaded when a task matches
~464

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Community-Access/accessibility-agents at commit decf6ba, republished under its MIT licence (© Community-Access). 168 words, ~464 tokens.

Download SKILL.mdSave it as .claude/skills/web-component-specialist/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
web-component-specialist
description
Custom elements and shadow DOM: ElementInternals, cross-shadow ARIA, focus.
license
MIT
disable-model-invocation
true
metadata.tier
specialist
metadata.domain
web
metadata.output
findings
metadata.effort
medium
metadata.title
Web Component Specialist

Web Component Accessibility Specialist

You audit custom elements and Shadow DOM for accessibility. Shadow DOM breaks traditional ARIA references, label associations, and focus management.

Core Audit Areas

  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

Common Issues

Each issue, with its fix.

IssueFix
Cross-shadow aria-labelledbyElementInternals.ariaLabel or host attribute
Missing delegatesFocusAdd to attachShadow() options
No role on hostElementInternals.role
Not form-associatedstatic formAssociated = true + ElementInternals

Output contract

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.

© Community-Access, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/web-component-specialist of Community-Access/accessibility-agents.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit decf6ba

Compare with similar skills

Web Component Specialist next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Web Component Specialist compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Web Component Specialist this skillCommunity-Access/accessibility-agents422—~464Automated safety check: PassMIT
Web Interface Guidelines Reviewervercel-labs/openreview1.7k98 repos~308Automated safety check: PassNone
Accessibility Reviewmarkmead/hyperui12k1 repos~1.1kAutomated safety check: PassMIT
Web Animation DesignbaptisteArno/typebot.io11k2 repos~2.7kAutomated safety check: PassCustom licence
Accessibility Fixeribelick/ui-skills9.5k4 repos~1.2kAutomated safety check: PassMIT
Wcag Audit PatternsvmDeshpande/ai-agent-automation17811 repos~610Automated safety check: PassApache-2.0

Similar skills

  • Web Interface Guidelines Reviewer

    vercel-labs/openreview

    Official

    Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my…

    1.7k GitHub starsUsed in 98 repos~308 tokens
    Frontend & DesignAuto-check passed
  • Accessibility Review

    markmead/hyperui

    Run a WCAG 2.1 AA accessibility audit on a design or page. An agent skill from markmead/hyperui.

    12k GitHub starsUsed in 1 repo~1.1k tokens
    Frontend & DesignAuto-check passed
  • Web Animation Design

    baptisteArno/typebot.io

    Guides easing, timing and animation choices for UI motion, based on a web animation course, and reviews existing animations in a before-and-after table.

    11k GitHub starsUsed in 2 repos~2.7k tokens
    Frontend & DesignAuto-check passed
  • Accessibility Fixer

    ibelick/ui-skills

    Audits and fixes HTML accessibility problems such as ARIA labels, keyboard navigation, focus management, contrast and form errors with minimal changes.

    9.5k GitHub starsUsed in 4 repos~1.2k tokens
    Frontend & DesignAuto-check passed
  • Wcag Audit Patterns

    vmDeshpande/ai-agent-automation

    Conduct WCAG 2.2 accessibility audits with automated testing, manual verification, and remediation guidance.

    178 GitHub starsUsed in 11 repos~610 tokens
    Frontend & DesignAuto-check passed
  • Baseline UI

    ibelick/ui-skills

    Applies a fixed set of UI rules for stack, components, interaction, animation, typography and layout, or reviews a file against them with concrete fixes.

    9.5k GitHub starsUsed in 8 repos~855 tokens
    Frontend & DesignAuto-check passed

More from Community-Access/accessibility-agents

All 108 skills in this repo
  • A11y Core

    Community-Access/accessibility-agents

    Shared contract for the Accessibility Agents skills - dispatch, findings schema, report rules.

    422 GitHub stars~1.2k tokensUpdated 15 days ago
    Auto-check passed
  • Kb Web Scanning

    Community-Access/accessibility-agents

    Reference data, not a reviewer. An agent skill from Community-Access/accessibility-agents.

    422 GitHub stars~1.2k tokensUpdated 15 days ago
    Auto-check passed
  • Accessibility Lead

    Community-Access/accessibility-agents

    Web UI accessibility lead. An agent skill from Community-Access/accessibility-agents.

    422 GitHub stars~932 tokensUpdated 15 days ago
    Auto-check passed
  • Alt Text Headings

    Community-Access/accessibility-agents

    Alt text, SVGs, figures, charts, heading order, page titles and landmarks.

    422 GitHub stars~1.5k tokensUpdated 15 days ago
    Auto-check passed
  • Aria Specialist

    Community-Access/accessibility-agents

    ARIA roles, states and properties for custom widgets and dynamic content.

    422 GitHub stars~1.6k tokensUpdated 15 days ago
    Auto-check passed
  • Cognitive Accessibility

    Community-Access/accessibility-agents

    Plain language, WCAG 2.2 cognitive criteria, COGA guidance and auth UX.

    422 GitHub stars~1.4k tokensUpdated 15 days ago
    Auto-check passed

Questions about Web Component Specialist

What does Web Component Specialist do?

Custom elements and shadow DOM: ElementInternals, cross-shadow ARIA, focus. Web Component Specialist is an agent skill from Community-Access/accessibility-agents. Custom elements and shadow DOM: ElementInternals, cross-shadow ARIA, focus.

When should I use Web Component Specialist?

Web Component Specialist fits situations like: tasks that involve Accessibility.

How do I install Web Component Specialist in Claude Code?

Run `npx skills add Community-Access/accessibility-agents --skill web-component-specialist -a claude-code`. Or copy the skill folder (skills/web-component-specialist in Community-Access/accessibility-agents) into .claude/skills/web-component-specialist in your project. Claude Code loads it when a task matches its description.

How do I install Web Component Specialist in Codex?

Run `npx skills add Community-Access/accessibility-agents --skill web-component-specialist -a codex`. Or copy the skill folder (skills/web-component-specialist in Community-Access/accessibility-agents) into .agents/skills/web-component-specialist in your project. Codex loads it when a task matches its description.

Can I use Web Component Specialist in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Community-Access/accessibility-agents --skill web-component-specialist -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/web-component-specialist, .gemini/skills/web-component-specialist, .github/skills/web-component-specialist and .opencode/skills/web-component-specialist in your project.

What does Web Component Specialist need to run?

SKILL.md names no scripts, command-line tools or credentials: Web Component Specialist is instructions for the agent only.

Does Web Component Specialist access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Web Component Specialist safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Web Component Specialist use?

Web Component Specialist is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Web Component Specialist use?

About 464 tokens (SKILL.md is roughly 1.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Web Component Specialist?

Skills that share tags, products or a category with Web Component Specialist: Web Interface Guidelines Reviewer (vercel-labs/openreview, 1.7k stars), Accessibility Review (markmead/hyperui, 12k stars), Web Animation Design (baptisteArno/typebot.io, 11k stars) and Accessibility Fixer (ibelick/ui-skills, 9.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Web Component Specialist?

Community-Access (a GitHub organization) maintains it in Community-Access/accessibility-agents, which has 422 GitHub stars. The repository holds 108 skills in this directory. The repository was last updated on September 23, 2026.

Source: Community-Access/accessibility-agents on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.