Wcag Audit Patterns
vmDeshpande/ai-agent-automation
Conduct WCAG 2.2 accessibility audits with automated testing, manual verification, and remediation guidance.
Detects and fixes accessibility issues in React/Fluent UI webviews.
$ npx skills add microsoft/vscode-cosmosdb --skill accessibility-aria-expert -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install microsoft/vscode-cosmosdb accessibility-aria-expert --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ 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-srcUse ~/.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/
Install the "accessibility-aria-expert" agent skill from https://github.com/microsoft/vscode-cosmosdb/tree/main/.github/skills/accessibility-aria-expert into .claude/skills/accessibility-aria-expert/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "accessibility-aria-expert", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/microsoft/vscode-cosmosdb/tree/main/.github/skills/accessibility-aria-expertType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add microsoft/vscode-cosmosdb --skill accessibility-aria-expert -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install microsoft/vscode-cosmosdb accessibility-aria-expert --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/vscode-cosmosdb.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.github/skills/accessibility-aria-expert .agents/skills/accessibility-aria-expert && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "accessibility-aria-expert" agent skill from https://github.com/microsoft/vscode-cosmosdb/tree/main/.github/skills/accessibility-aria-expert into .agents/skills/accessibility-aria-expert/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "accessibility-aria-expert", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add microsoft/vscode-cosmosdb --skill accessibility-aria-expert -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install microsoft/vscode-cosmosdb accessibility-aria-expert --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/vscode-cosmosdb.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.github/skills/accessibility-aria-expert .cursor/skills/accessibility-aria-expert && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "accessibility-aria-expert" agent skill from https://github.com/microsoft/vscode-cosmosdb/tree/main/.github/skills/accessibility-aria-expert into .cursor/skills/accessibility-aria-expert/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "accessibility-aria-expert", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/microsoft/vscode-cosmosdb.git --path .github/skills/accessibility-aria-expert--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add microsoft/vscode-cosmosdb --skill accessibility-aria-expert -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install microsoft/vscode-cosmosdb accessibility-aria-expert --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/vscode-cosmosdb.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.github/skills/accessibility-aria-expert .gemini/skills/accessibility-aria-expert && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "accessibility-aria-expert" agent skill from https://github.com/microsoft/vscode-cosmosdb/tree/main/.github/skills/accessibility-aria-expert into .gemini/skills/accessibility-aria-expert/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "accessibility-aria-expert", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install microsoft/vscode-cosmosdb accessibility-aria-expertInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add microsoft/vscode-cosmosdb --skill accessibility-aria-expert -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/microsoft/vscode-cosmosdb.git skills-src && mkdir -p .github/skills && cp -r skills-src/.github/skills/accessibility-aria-expert .github/skills/accessibility-aria-expert && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "accessibility-aria-expert" agent skill from https://github.com/microsoft/vscode-cosmosdb/tree/main/.github/skills/accessibility-aria-expert into .github/skills/accessibility-aria-expert/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "accessibility-aria-expert", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add microsoft/vscode-cosmosdb --skill accessibility-aria-expert -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install microsoft/vscode-cosmosdb accessibility-aria-expert --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/vscode-cosmosdb.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.github/skills/accessibility-aria-expert .opencode/skills/accessibility-aria-expert && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "accessibility-aria-expert" agent skill from https://github.com/microsoft/vscode-cosmosdb/tree/main/.github/skills/accessibility-aria-expert into .opencode/skills/accessibility-aria-expert/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "accessibility-aria-expert", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
accessibility-aria-expertDetects 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. 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.
10 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit cf3dbf8. It shows what the files ask for, not the result of running them.
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.
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.
Links to these hosts (documentation or services it may open):
w3.orgFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
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.
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.
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.
The full file from microsoft/vscode-cosmosdb at commit cf3dbf8, republished under its MIT licence (© microsoft). 955 words, ~3,194 tokens.
.claude/skills/accessibility-aria-expert/SKILL.md (or your agent's skills folder).Verify and fix accessibility in React/Fluent UI webview components.
aria-label to icon-only buttons or form inputsTooltips require aria-label + aria-hidden to avoid double announcements:
<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 duplicationFor 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".
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.aria-label overrides descendant text. Seeing the visible label inside the component does not mean it is
included in the accessibility tree.For user-facing controls covered by Playwright, assert both the rendered label and computed accessible name:
const moreLabel = page.getByRole('button', { name: /^More/ });
await expect(moreLabel).toHaveText('More…');
await expect(moreLabel).toHaveAccessibleName(/^More…/);
await expect(moreLabel).toHaveAccessibleDescription('Show full description');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:
// ❌ 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.
❌ Problem: Tooltip content inaccessible to screen readers
<Tooltip content="Save document to database">
<Button aria-label="Save">Save</Button>
</Tooltip>✅ Fix: Include tooltip in aria-label
<Tooltip content="Save document to database" relationship="description">
<Button aria-label="Save document to database">Save</Button>
</Tooltip>❌ Problem: Screen reader says "Collection scan Collection scan"
<Badge aria-label="Collection scan. Query is inefficient">Collection scan</Badge>✅ Fix: Wrap visible text
<Badge aria-label="Collection scan. Query is inefficient">
<span aria-hidden="true">Collection scan</span>
</Badge>❌ Problem: aria-label identical to visible text adds no value
<Button aria-label="Save">Save</Button>
<ToolbarButton aria-label="Validate" icon={<CheckIcon />}>Validate</ToolbarButton>✅ Fix: Remove redundant aria-label OR make it more descriptive
<Button>Save</Button>
<ToolbarButton icon={<CheckIcon />}>Validate</ToolbarButton>Keep aria-label only when it adds information:
<ToolbarButton aria-label="Save document to database" icon={<SaveIcon />}>
Save
</ToolbarButton>❌ Problem: No accessible name
<ToolbarButton icon={<DeleteRegular />} onClick={onDelete} />✅ Fix: Add aria-label
<Tooltip content="Delete selected items" relationship="description">
<ToolbarButton aria-label="Delete selected items" icon={<DeleteRegular />} onClick={onDelete} />
</Tooltip>❌ Problem: Progress bar announced unnecessarily
<ProgressBar thickness="large" />✅ Fix: Hide decorative elements
<ProgressBar thickness="large" aria-hidden={true} />❌ Problem: SpinButton/Input without accessible name
<SpinButton value={skipValue} onChange={onSkipChange} />
<Input placeholder="Enter query..." />✅ Fix: Add aria-label or associate with label element
<SpinButton aria-label="Skip documents" value={skipValue} onChange={onSkipChange} />
<Label htmlFor="query-input">Query</Label>
<Input id="query-input" placeholder="Enter query..." />❌ Problem: aria-label doesn't contain visible text (breaks voice control)
<ToolbarButton aria-label="Reload data" icon={<RefreshIcon />}>
Refresh
</ToolbarButton>✅ Fix: Accessible name must contain visible label exactly
<ToolbarButton aria-label="Refresh data" icon={<RefreshIcon />}>
Refresh
</ToolbarButton>Voice control users say "click Refresh" – only works if accessible name contains "Refresh".
❌ Problem: Screen reader doesn't announce dynamic content
<span>{isLoading ? 'Loading...' : `${count} results`}</span>✅ Fix: Use the Announcer component
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.
❌ Problem: Focus stays on trigger when modal opens
{
isOpen && <Dialog>...</Dialog>;
}✅ Fix: Move focus programmatically
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
<span>How would you rate this?</span>
<Button>👍</Button>
<Button>👎</Button>✅ Fix: Use role="group" with aria-labelledby
<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>DO use on:
DO NOT use on:
For keyboard-accessible badges with tooltips:
<Badge tabIndex={0} className="focusableBadge" aria-label="Visible text. Tooltip details">
<span aria-hidden="true">Visible text</span>
</Badge>Use the Announcer component for WCAG 4.1.3 (Status Messages) compliance.
import { Announcer } from '../../api/webview-client/accessibility';// 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" />when: Announces when this transitions from false to truemessage: The message to announce (use l10n.t() for localization)politeness: 'assertive' (default, interrupts) or 'polite' (waits for idle)documentCount) to derive dynamic messagesl10n.t() for messages - announcements must be localizedwhen goes back to false, it's ready for the next announcementaria-labelaria-labelaria-labelaria-hidden="true" when aria-label duplicates itaria-hidden={true}focusableBadge class + tabIndex={0}Announcer componentrole="group" with aria-labelledbysrc/webviews/components/focusableBadge/focusableBadge.md for the Badge pattern© microsoft, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .github/skills/accessibility-aria-expert of microsoft/vscode-cosmosdb.
Open the folder on GitHubat commit cf3dbf8
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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Accessibility Aria Expert this skillmicrosoft/vscode-cosmosdb | 200 | — | ~3.2k | Automated safety check: Pass | MIT | |
| Wcag Audit PatternsvmDeshpande/ai-agent-automation | 178 | 11 repos | ~610 | Automated safety check: Pass | Apache-2.0 | |
| UI/UX Design System AdvisorGalaxy-Dawn/claude-scholar | 5.7k | 1 repos | ~1.1k | Automated safety check: Pass | MIT | |
| Extract DesignManavarya09/design-extract | 4.2k | — | ~786 | Automated safety check: Notes | MIT | |
| Accessibility CompliancevmDeshpande/ai-agent-automation | 178 | 3 repos | ~601 | Automated safety check: Pass | Apache-2.0 | |
| React Ariaintentui/laravel | 162 | 1 repos | ~3.9k | Automated safety check: Pass | Apache-2.0 |
vmDeshpande/ai-agent-automation
Conduct WCAG 2.2 accessibility audits with automated testing, manual verification, and remediation guidance.
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.
Manavarya09/design-extract
Extract the full design language from any website URL. An agent skill from Manavarya09/design-extract.
vmDeshpande/ai-agent-automation
Implement WCAG 2.2 compliant interfaces with mobile accessibility, inclusive design patterns, and assistive technology support.
intentui/laravel
Build accessible UI components with React Aria Components. An agent skill from intentui/laravel.
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.
microsoft/vscode-cosmosdb
Reviews and authors telemetry code in this extension. An agent skill from microsoft/vscode-cosmosdb.
microsoft/vscode-cosmosdb
Backport changes (current branch, a PR, a branch, or specific commits/SHAs) onto a target branch (typically a release branch like rel/).
microsoft/vscode-cosmosdb
Generate, explain, edit, and fix Azure Cosmos DB for NoSQL (SQL API) queries.
microsoft/vscode-cosmosdb
Azure Cosmos DB performance optimization and best practices guidelines for NoSQL, partitioning, queries, and SDK usage.
microsoft/vscode-cosmosdb
Drive the active Azure Cosmos DB for NoSQL Query Editor in VS Code from natural language.
Works with
Categories
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.
Accessibility Aria Expert fits situations like: reviewing code for screen reader compatibility; fixing ARIA labels; ensuring keyboard navigation; adding live regions for status messages.
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.
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.
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.
SKILL.md names no scripts, command-line tools or credentials: Accessibility Aria Expert is instructions for the agent only.
SKILL.md names 1 domain. As links in the text: w3.org. This is read from the text; nothing was executed.
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.
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.
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.
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.
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.