Official agent skill

Accessibility Aria Expert

by microsoft in microsoft/vscode-cosmosdb

Detects and fixes accessibility issues in React/Fluent UI webviews.

OfficialMITAuto-check passedFrontend & Design

Install Accessibility Aria Expert

skills CLI
$ npx skills add microsoft/vscode-cosmosdb --skill accessibility-aria-expert -a claude-code

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

GitHub CLI
$ gh skill install microsoft/vscode-cosmosdb accessibility-aria-expert --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/microsoft/vscode-cosmosdb.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/accessibility-aria-expert .claude/skills/accessibility-aria-expert && 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
accessibility-aria-expert
GitHub stars
200
Token cost
~3.2k tokens
SKILL.md length
955 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
MIT

At a glance

Detects and fixes accessibility issues in React/Fluent UI webviews.

  • Works in 10 steps: Tooltip Without aria-label Context → Missing aria-hidden (Double Announcement) → Redundant aria-label (NOT Needed) → …
  • Reviewing code for screen reader compatibility
  • SKILL.md covers When to Use, Core Pattern: Tooltip…, Required Accessible-Name Audit and Avoid Hidden-Text Scroll…, plus 6 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Accessibility Aria Expert is an agent skill from microsoft/vscode-cosmosdb, published by the product's own GitHub organization. Detects and fixes accessibility issues in React/Fluent UI webviews. Use when reviewing code for screen reader compatibility, fixing ARIA labels, ensuring keyboard navigation, adding live regions for status messages, or managing focus in dialogs.

Its SKILL.md is about 3.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Frontend & Design, covering Accessibility. It works with React, Visual Studio Code and Azure Cosmos DB. The repository describes itself as: Azure Cosmos DB extension for VS Code. The licence is MIT.

When your agent uses it

  • Reviewing code for screen reader compatibility
  • Fixing ARIA labels
  • Ensuring keyboard navigation
  • Adding live regions for status messages

Example prompts

  • “Use the accessibility-aria-expert skill to detect and fixes accessibility issues in React/Fluent UI webviews”
  • “/accessibility-aria-expert”

Workflow steps

10 steps, taken from the step headings in SKILL.md.

  1. Tooltip Without aria-label Context
  2. Missing aria-hidden (Double Announcement)
  3. Redundant aria-label (NOT Needed)
  4. Icon-Only Button Missing aria-label
  5. Decorative Elements Not Hidden
  6. Input Missing Accessible Name
  7. Visible Label Not in Accessible Name
  8. Status Changes Not Announced
  9. Dialog Opens Without Focus Move
  10. Related Controls Without Group Label

What it can do on your machine

Read from SKILL.md and the folder at commit cf3dbf8. 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 (its code samples are typescript).

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

  • Network

    Links to these hosts (documentation or services it may open):

    • w3.org

    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

Accessibility Aria Expert loads about 3.2k tokens when it runs. Until then it costs about 68 tokens; SKILL.md has 955 words of instructions outside code blocks.

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

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 microsoft/vscode-cosmosdb at commit cf3dbf8, republished under its MIT licence (© microsoft). 955 words, ~3,194 tokens.

Download SKILL.mdSave it as .claude/skills/accessibility-aria-expert/SKILL.md (or your agent's skills folder).
name
accessibility-aria-expert
description
Detects and fixes accessibility issues in React/Fluent UI webviews. Use when reviewing code for screen reader compatibility, fixing ARIA labels, ensuring keyboard navigation, adding live regions for status messages, or managing focus in dialogs.

Accessibility Expert for Webviews

Verify and fix accessibility in React/Fluent UI webview components.

When to Use

  • Review webview code for accessibility issues
  • Fix double announcements from screen readers
  • Add missing aria-label to icon-only buttons or form inputs
  • Make tooltips accessible to keyboard/screen reader users
  • Announce status changes (loading, search results, errors)
  • Manage focus when dialogs/modals open
  • Group related controls with proper labels

Core Pattern: Tooltip Accessibility

Tooltips require aria-label + aria-hidden to avoid double announcements:

tsx
<Tooltip content="Detailed explanation">
  <Badge tabIndex={0} className="focusableBadge" aria-label="Badge text. Detailed explanation">
    <span aria-hidden="true">Badge text</span>
  </Badge>
</Tooltip>
  • aria-label: Full context (visible text + tooltip)
  • aria-hidden="true": Wraps visible text to prevent duplication
  • Screen reader hears: "Badge text. Detailed explanation"

Required Accessible-Name Audit

For every interactive element with visible text, compare the rendered text with its computed accessible name. Check all sources that can override descendant text, including aria-label, aria-labelledby, title, and Fluent UI tooltips with relationship="label".

  • The computed accessible name must contain the exact localized visible text. Additional context may follow or precede it.
  • Prefer visible descendant text as the native accessible name. For a simple flat-text description, use aria-description so the visible label remains the name without adding hidden DOM content. Use aria-describedby when the description already exists in the DOM, is shared by multiple controls, contains meaningful structure, or compatibility requirements demand it. Add aria-label only when the accessible name itself needs clarification, and include the exact visible label when doing so.
  • When adding context, derive both strings from the same localized visible-label variable. Do not translate the visible and accessible labels independently because translations can drift.
  • Remember that aria-label overrides descendant text. Seeing the visible label inside the component does not mean it is included in the accessibility tree.
  • Review existing accessible-name attributes when modifying a control, even when the change does not add or alter ARIA.

For user-facing controls covered by Playwright, assert both the rendered label and computed accessible name:

tsx
const moreLabel = page.getByRole('button', { name: /^More/ });
await expect(moreLabel).toHaveText('More…');
await expect(moreLabel).toHaveAccessibleName(/^More…/);
await expect(moreLabel).toHaveAccessibleDescription('Show full description');

Avoid Hidden-Text Scroll Regressions

Do not add an absolutely positioned screen-reader-only element just to name a nearby semantic element, especially inside a scrollable table, grid, list, or panel. VoiceOver may move the virtual cursor to the hidden element's layout box and scroll the visible content out of view.

Prefer setting the accessible name or description on a rendered element with useful on-screen bounds. For text controls, this is usually the semantic element itself. For an icon or symbol inside a table cell, use a visible inline wrapper as the named accessibility node and keep the visual-only child hidden from assistive technology:

tsx
// ❌ VoiceOver may scroll to the hidden span when navigating the cell.
<td>
  <span className={styles.srOnly}>{l10n.t('Yes')}</span>
  <CheckmarkCircleFilled />
</td>

// ❌ The value is announced, but VoiceOver's visual focus indicator may disappear from the rendered symbol.
<td aria-label={l10n.t('Yes')}>
  <CheckmarkCircleFilled aria-hidden={true} />
</td>

// ✅ The accessibility node uses the visible symbol's bounds; there is no off-screen layout box to reveal.
<td>
  <span role="img" aria-label={l10n.t('Yes')} style={{ display: 'inline-flex' }}>
    <CheckmarkCircleFilled aria-hidden={true} />
  </span>
</td>

Use hidden DOM text only when the semantic relationship cannot be expressed directly. When it is necessary, use an established shared utility, anchor it to an appropriate containing block, and manually navigate the control with VoiceOver or NVDA to verify that focus and the virtual cursor do not scroll the visible content away or lose the visual focus indicator. Playwright accessible-name assertions do not detect these screen-reader-driven visual regressions.

Detection Rules

1. Tooltip Without aria-label Context

❌ Problem: Tooltip content inaccessible to screen readers

tsx
<Tooltip content="Save document to database">
  <Button aria-label="Save">Save</Button>
</Tooltip>

✅ Fix: Include tooltip in aria-label

tsx
<Tooltip content="Save document to database" relationship="description">
  <Button aria-label="Save document to database">Save</Button>
</Tooltip>
2. Missing aria-hidden (Double Announcement)

❌ Problem: Screen reader says "Collection scan Collection scan"

tsx
<Badge aria-label="Collection scan. Query is inefficient">Collection scan</Badge>

✅ Fix: Wrap visible text

tsx
<Badge aria-label="Collection scan. Query is inefficient">
  <span aria-hidden="true">Collection scan</span>
</Badge>
3. Redundant aria-label (NOT Needed)

❌ Problem: aria-label identical to visible text adds no value

tsx
<Button aria-label="Save">Save</Button>
<ToolbarButton aria-label="Validate" icon={<CheckIcon />}>Validate</ToolbarButton>

✅ Fix: Remove redundant aria-label OR make it more descriptive

tsx
<Button>Save</Button>
<ToolbarButton icon={<CheckIcon />}>Validate</ToolbarButton>

Keep aria-label only when it adds information:

tsx
<ToolbarButton aria-label="Save document to database" icon={<SaveIcon />}>
  Save
</ToolbarButton>
4. Icon-Only Button Missing aria-label

❌ Problem: No accessible name

tsx
<ToolbarButton icon={<DeleteRegular />} onClick={onDelete} />

✅ Fix: Add aria-label

tsx
<Tooltip content="Delete selected items" relationship="description">
  <ToolbarButton aria-label="Delete selected items" icon={<DeleteRegular />} onClick={onDelete} />
</Tooltip>
5. Decorative Elements Not Hidden

❌ Problem: Progress bar announced unnecessarily

tsx
<ProgressBar thickness="large" />

✅ Fix: Hide decorative elements

tsx
<ProgressBar thickness="large" aria-hidden={true} />
6. Input Missing Accessible Name

❌ Problem: SpinButton/Input without accessible name

tsx
<SpinButton value={skipValue} onChange={onSkipChange} />
<Input placeholder="Enter query..." />

✅ Fix: Add aria-label or associate with label element

tsx
<SpinButton aria-label="Skip documents" value={skipValue} onChange={onSkipChange} />
<Label htmlFor="query-input">Query</Label>
<Input id="query-input" placeholder="Enter query..." />
Show full SKILL.md (375 more words)Show less
7. Visible Label Not in Accessible Name

❌ Problem: aria-label doesn't contain visible text (breaks voice control)

tsx
<ToolbarButton aria-label="Reload data" icon={<RefreshIcon />}>
  Refresh
</ToolbarButton>

✅ Fix: Accessible name must contain visible label exactly

tsx
<ToolbarButton aria-label="Refresh data" icon={<RefreshIcon />}>
  Refresh
</ToolbarButton>

Voice control users say "click Refresh" – only works if accessible name contains "Refresh".

8. Status Changes Not Announced

❌ Problem: Screen reader doesn't announce dynamic content

tsx
<span>{isLoading ? 'Loading...' : `${count} results`}</span>

✅ Fix: Use the Announcer component

tsx
import { Announcer } from '../../api/webview-client/accessibility';

// Announces when `when` transitions from false to true
<Announcer when={isLoading} message={l10n.t('Loading...')} />

// Dynamic message based on state
<Announcer
    when={!isLoading && documentCount !== undefined}
    message={documentCount > 0 ? l10n.t('Results found') : l10n.t('No results found')}
/>

Use for: loading states, search results, success/error messages.

9. Dialog Opens Without Focus Move

❌ Problem: Focus stays on trigger when modal opens

tsx
{
  isOpen && <Dialog>...</Dialog>;
}

✅ Fix: Move focus programmatically

tsx
const dialogRef = useRef<HTMLDivElement>(null);

useEffect(() => {
  if (isOpen) dialogRef.current?.focus();
}, [isOpen]);

{
  isOpen && (
    <Dialog ref={dialogRef} tabIndex={-1} aria-modal="true">
      ...
    </Dialog>
  );
}

❌ Problem: Buttons share visual label but screen reader misses context

tsx
<span>How would you rate this?</span>
<Button>👍</Button>
<Button>👎</Button>

✅ Fix: Use role="group" with aria-labelledby

tsx
<div role="group" aria-labelledby="rating-label">
  <span id="rating-label">How would you rate this?</span>
  <Button aria-label="I like it">👍</Button>
  <Button aria-label="I don't like it">👎</Button>
</div>

When to Use aria-hidden

DO use on:

  • Visible text when aria-label provides complete context
  • Decorative icons, spinners, progress bars
  • Visual separators (`|`, `—`)

DO NOT use on:

  • The only accessible content (hides it completely)
  • Interactive/focusable elements
  • Error messages or alerts

focusableBadge Pattern

For keyboard-accessible badges with tooltips:

  1. Import: `import '../components/focusableBadge/focusableBadge.scss';`
  2. Apply attributes:
tsx
<Badge tabIndex={0} className="focusableBadge" aria-label="Visible text. Tooltip details">
  <span aria-hidden="true">Visible text</span>
</Badge>

Screen Reader Announcements

Use the Announcer component for WCAG 4.1.3 (Status Messages) compliance.

tsx
import { Announcer } from '../../api/webview-client/accessibility';
Basic Usage
tsx
// Announces "AI is analyzing..." when isLoading becomes true
<Announcer when={isLoading} message={l10n.t('AI is analyzing...')} />

// Dynamic message based on state (e.g., query results)
<Announcer
    when={!isLoading && documentCount !== undefined}
    message={documentCount > 0 ? l10n.t('Results found') : l10n.t('No results found')}
/>

// With assertive politeness (default is polite)
<Announcer when={hasError} message={l10n.t('Error occurred')} politeness="assertive" />
Props
  • when: Announces when this transitions from false to true
  • message: The message to announce (use l10n.t() for localization)
  • politeness: 'assertive' (default, interrupts) or 'polite' (waits for idle)
Key Points
  • Placement doesn't matter - screen readers monitor all live regions regardless of DOM position; place near related UI for code readability
  • Store relevant state (e.g., documentCount) to derive dynamic messages
  • Use l10n.t() for messages - announcements must be localized
  • Condition resets automatically - when when goes back to false, it's ready for the next announcement
  • Prefer 'assertive' for user-initiated actions, 'polite' for background updates

Quick Checklist

  • Icon-only buttons have aria-label
  • Form inputs have associated labels or aria-label
  • Tooltip content included in aria-label
  • Visible text wrapped in aria-hidden="true" when aria-label duplicates it
  • Redundant aria-labels removed (identical to visible text)
  • Accessible names contain the exact localized visible label (for voice control)
  • VoiceOver/NVDA navigation neither scrolls visible content away nor loses its visual focus indicator
  • Decorative elements have aria-hidden={true}
  • Badges with tooltips use focusableBadge class + tabIndex={0}
  • Status updates use Announcer component
  • Focus moves to dialog/modal content when opened
  • Related controls wrapped in role="group" with aria-labelledby

References

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

Files

Just SKILL.md in .github/skills/accessibility-aria-expert of microsoft/vscode-cosmosdb.

Open the folder on GitHubat commit cf3dbf8

Compare with similar skills

Accessibility Aria Expert 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.

Accessibility Aria Expert compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Accessibility Aria Expert this skillmicrosoft/vscode-cosmosdb200—~3.2kAutomated safety check: PassMIT
Wcag Audit PatternsvmDeshpande/ai-agent-automation17811 repos~610Automated safety check: PassApache-2.0
UI/UX Design System AdvisorGalaxy-Dawn/claude-scholar5.7k1 repos~1.1kAutomated safety check: PassMIT
Extract DesignManavarya09/design-extract4.2k—~786Automated safety check: NotesMIT
Accessibility CompliancevmDeshpande/ai-agent-automation1783 repos~601Automated safety check: PassApache-2.0
React Ariaintentui/laravel1621 repos~3.9kAutomated safety check: PassApache-2.0

Similar skills

  • 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
  • UI/UX Design System Advisor

    Galaxy-Dawn/claude-scholar

    Turns a vague UI request into a concrete design system with style, palette, typography and layout guidance from a search script, plus stack-specific implementation advice.

    5.7k GitHub starsUsed in 1 repo~1.1k tokens
    Frontend & DesignAuto-check passed
  • Extract Design

    Manavarya09/design-extract

    Extract the full design language from any website URL. An agent skill from Manavarya09/design-extract.

    4.2k GitHub stars~786 tokensUpdated yesterday
    Frontend & DesignAuto-check: notes
  • Accessibility Compliance

    vmDeshpande/ai-agent-automation

    Implement WCAG 2.2 compliant interfaces with mobile accessibility, inclusive design patterns, and assistive technology support.

    178 GitHub starsUsed in 3 repos~601 tokens
    Frontend & DesignAuto-check passed
  • React Aria

    intentui/laravel

    Build accessible UI components with React Aria Components. An agent skill from intentui/laravel.

    162 GitHub starsUsed in 1 repo~3.9k tokens
    Frontend & DesignAuto-check passed
  • Instui Docs

    instructure/instructure-ui

    Look up authoritative Instructure UI (InstUI, @instructure/ui-) documentation — component APIs, props, theme variables, usage examples, and guides — by querying instructure.design's plaintext docs.

    482 GitHub stars~498 tokensUpdated today
    Frontend & DesignAuto-check passed

More from microsoft/vscode-cosmosdb

  • Telemetry Best Practices

    microsoft/vscode-cosmosdb

    Official

    Reviews and authors telemetry code in this extension. An agent skill from microsoft/vscode-cosmosdb.

    200 GitHub stars~3.6k tokensUpdated today
    Auto-check passed
  • Backport

    microsoft/vscode-cosmosdb

    Official

    Backport changes (current branch, a PR, a branch, or specific commits/SHAs) onto a target branch (typically a release branch like rel/).

    200 GitHub stars~5k tokensUpdated today
    Auto-check passed
  • Cosmosdb Nosql Query Generation

    microsoft/vscode-cosmosdb

    Official

    Generate, explain, edit, and fix Azure Cosmos DB for NoSQL (SQL API) queries.

    200 GitHub stars~4k tokensUpdated today
    Auto-check: warnings
  • Cosmosdb Best Practices

    microsoft/vscode-cosmosdb

    Official

    Azure Cosmos DB performance optimization and best practices guidelines for NoSQL, partitioning, queries, and SDK usage.

    200 GitHub stars~4.3k tokensUpdated today
    Auto-check passed
  • Cosmosdb Nosql Query Editor

    microsoft/vscode-cosmosdb

    Official

    Drive the active Azure Cosmos DB for NoSQL Query Editor in VS Code from natural language.

    200 GitHub stars~1.1k tokensUpdated today
    Auto-check: warnings

Questions about Accessibility Aria Expert

What does Accessibility Aria Expert do?

Detects and fixes accessibility issues in React/Fluent UI webviews. Accessibility Aria Expert is an agent skill from microsoft/vscode-cosmosdb, published by the product's own GitHub organization. Detects and fixes accessibility issues in React/Fluent UI webviews.

When should I use Accessibility Aria Expert?

Accessibility Aria Expert fits situations like: reviewing code for screen reader compatibility; fixing ARIA labels; ensuring keyboard navigation; adding live regions for status messages.

How do I install Accessibility Aria Expert in Claude Code?

Run `npx skills add microsoft/vscode-cosmosdb --skill accessibility-aria-expert -a claude-code`. Or copy the skill folder (.github/skills/accessibility-aria-expert in microsoft/vscode-cosmosdb) into .claude/skills/accessibility-aria-expert in your project. Claude Code loads it when a task matches its description.

How do I install Accessibility Aria Expert in Codex?

Run `npx skills add microsoft/vscode-cosmosdb --skill accessibility-aria-expert -a codex`. Or copy the skill folder (.github/skills/accessibility-aria-expert in microsoft/vscode-cosmosdb) into .agents/skills/accessibility-aria-expert in your project. Codex loads it when a task matches its description.

Can I use Accessibility Aria Expert 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 microsoft/vscode-cosmosdb --skill accessibility-aria-expert -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/accessibility-aria-expert, .gemini/skills/accessibility-aria-expert, .github/skills/accessibility-aria-expert and .opencode/skills/accessibility-aria-expert in your project.

What does Accessibility Aria Expert need to run?

SKILL.md names no scripts, command-line tools or credentials: Accessibility Aria Expert is instructions for the agent only.

Does Accessibility Aria Expert access the network?

SKILL.md names 1 domain. As links in the text: w3.org. This is read from the text; nothing was executed.

Is Accessibility Aria Expert 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 Accessibility Aria Expert use?

Accessibility Aria Expert is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Accessibility Aria Expert use?

About 3.2k tokens (SKILL.md is roughly 13k 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 Accessibility Aria Expert?

Skills that share tags, products or a category with Accessibility Aria Expert: Wcag Audit Patterns (vmDeshpande/ai-agent-automation, 178 stars), UI/UX Design System Advisor (Galaxy-Dawn/claude-scholar, 5.7k stars), Extract Design (Manavarya09/design-extract, 4.2k stars) and Accessibility Compliance (vmDeshpande/ai-agent-automation, 178 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Accessibility Aria Expert?

microsoft (a GitHub organization, an official publisher) maintains it in microsoft/vscode-cosmosdb, which has 200 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 9, 2026.

Source: microsoft/vscode-cosmosdb on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.