accessibility
Skill37 starsChanged 7 months agoMITView on GitHub
Audit and improve web accessibility following WCAG 2.2 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible".
- Installs packages
143 other projects use a version of this, 45 of them edited.
Adopted by
Most recently taken up by
- uac-ops/founder-stacktheir own version, first seen Nov 29, 2026
- KevinLoichot/everything-claude-codetheir own version, first seen Nov 29, 2026
- alvaroofernaandez/dotfilesedited, first seen Nov 29, 2026
- genfeedai/genfeed.aitheir own version, first seen Nov 29, 2026
- satvikgbusiness-jpg/Claude-skillstheir own version, first seen Nov 29, 2026
- sajaddp/sonjoo-seo-auditedited, first seen Nov 29, 2026
Used with
Projects with it also use tool-rename-deprecation, author-contributions and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
gitpod-ioSkilltool-rename-deprecation
Ensure renamed built-in tool references preserve backward compatibility. Use when renaming a toolReferenceName, tool set referenceName, or any tool identifier. Run on ANY change to tool registration code. Covers legacyToolReferenceFullNames for tools and legacyFullNames for tool sets.
Also in 5 projects that use this
MicrosoftSkillauthor-contributions
Identify all files a specific author contributed to on a branch vs its upstream, tracing code through renames. Use when asked who edited what, what code an author contributed, or to audit authorship before a merge. This skill should be run as a subagent — it performs many git operations and returns a concise table.
Also in 7 projects that use this
MicrosoftSkillauto-perf-optimize
Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.
Also in 6 projects that use this
DepressionCenterSkillproject-preferences
Apply repository-specific preferences when planning, implementing, or reviewing changes in this project.
Also in 6 projects that use this
DepressionCenterSkillcreate-media-pack
Create a coordinated project branding and media pack with three accessible design options, approved vector artwork, image exports, a branding guide, and README integration. Use when asked for a repository media pack, brand kit, or complete project visual identity.
Also in 5 projects that use this
- +7 more from microsoft
Other versions143 projects use a version of this.
Word for word · 0
None found.
Edited · 45
- midudev/preguntas-entrevista-react★ 7.8k53% same
- legions-developer/evilcharts★ 3.2k71% same
- midudev/la-velada-web-oficial★ 1.9k71% same
- theopenco/llmgateway★ 1.8k57% same
- midudev/tailwind-animations★ 1.5k71% same
- moumen-soliman/uitripled★ 1.4k64% same
- legions-developer/invoicely★ 92370% same
- ever-co/ever-works★ 20470% same
- ever-works/ever-works★ 20470% same
- ricneves-ai/flowgrammers-skills★ 11571% same
35 more not listed
Wrote their own version · 98
- microsoft/vscode★ 196ksame name
- elastic/kibana★ 21ksame name
- mozilla-mobile/firefox-ios★ 13ksame name
- gitpod-io/openvscode-server★ 6.2ksame name
- posit-dev/positron★ 4.4ksame name
- UI5/webcomponents★ 1.8ksame name
- microsoft/hve-core★ 1.6ksame name
- Khan/perseus★ 1.6ksame name
- GetStream/stream-chat-react-native★ 1.2ksame name
- code-dot-org/code-dot-org★ 906same name
88 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository18 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .agents/skills/composition-patterns/AGENTS.mdAGENTS.md
- .agents/skills/react-best-practices/AGENTS.mdAGENTS.md
- ui/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- ui/CLAUDE.mdCLAUDE.md
- vercel-composition-patternsSkill
- frontend-designSkill
- nodejs-backend-patternsSkill
- nodejs-best-practicesSkill
- vercel-react-best-practicesSkill
- seoSkill
- typescript-advanced-typesSkill
- viteSkill
- vitestSkill
- pupila-ai-reviewSkill
- pupila-fetchersSkill
- pupila-filtersSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 5 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 129 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 313
If help mechanism (contact info, chat widget, FAQ link, self-help) repeats across pages, must appear in same relative order each time.
- Distinctive: line 317
Every input needs programmatically associated label.
- Distinctive: line 325
Don't force re-entry of info already provided same session.
- Distinctive: line 344
Test uses object recognition or personal content (AA only.
- Distinctive: line 376
When ARIA needed,: use correct roles + states.
- Very specific: line 380
Use aria-live regions to announce dynamic content changes without moving focus.
“Common” is measured: kept by at least 6 in 10 of the 129 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Accessibility (a11y)
WCAG 2.2 + Lighthouse a11y audit guidelines. Goal: content usable by everyone, including disabled users.
WCAG Principles: POUR
| Principle | Description |
| Perceivable | Perceive content via different senses |
| Operable | All users can operate interface |
| Understandable | Content + interface understandable |
| Robust | Works with assistive tech |
Conformance levels
| Level | Requirement | Target |
| A | Minimum a11y | Must pass |
| AA | Standard | Should pass (legal req many jurisdictions) |
| AAA | Enhanced | Nice to have |
Perceivable
Text alternatives (1.1)
Images need alt text:
<!-- ❌ Missing alt -->
<img src="chart.png">
<!-- ✅ Descriptive alt -->
<img src="chart.png" alt="Bar chart showing 40% increase in Q3 sales">
<!-- ✅ Decorative image (empty alt) -->
<img src="decorative-border.png" alt="" role="presentation">
<!-- ✅ Complex image with longer description -->
<figure>
<img src="infographic.png" alt="2024 market trends infographic"
aria-describedby="infographic-desc">
<figcaption id="infographic-desc">
<!-- Detailed description -->
</figcaption>
</figure>Icon buttons need accessible names:
<!-- ❌ No accessible name -->
<button><svg><!-- menu icon --></svg></button>
<!-- ✅ Using aria-label -->
<button aria-label="Open menu">
<svg aria-hidden="true"><!-- menu icon --></svg>
</button>
<!-- ✅ Using visually hidden text -->
<button>
<svg aria-hidden="true"><!-- menu icon --></svg>
<span class="visually-hidden">Open menu</span>
</button>Visually hidden class:
.visually-hidden {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}Color contrast (1.4.3, 1.4.6)
| Text Size | AA min | AAA enhanced |
| Normal text (< 18px / < 14px bold) | 4.5:1 | 7:1 |
| Large text (≥ 18px / ≥ 14px bold) | 3:1 | 4.5:1 |
| UI components + graphics | 3:1 | 3:1 |
/* ❌ Low contrast (2.5:1) */
.low-contrast {
color: #999;
background: #fff;
}
/* ✅ Sufficient contrast (7:1) */
.high-contrast {
color: #333;
background: #fff;
}
/* ✅ Focus states need contrast too */
:focus-visible {
outline: 2px solid #005fcc;
outline-offset: 2px;
}No color alone:
<!-- ❌ Only color shows error -->
<input class="error-border">
<style>.error-border { border-color: red; }</style>
<!-- ✅ Color + icon + text -->
<div class="field-error">
<input aria-invalid="true" aria-describedby="email-error">
<span id="email-error" class="error-message">
<svg aria-hidden="true"><!-- error icon --></svg>
Please enter a valid email address
</span>
</div>Media alternatives (1.2)
<!-- Video with captions -->
<video controls>
<source src="video.mp4" type="video/mp4">
<track kind="captions" src="captions.vtt" srclang="en" label="English" default>
<track kind="descriptions" src="descriptions.vtt" srclang="en" label="Descriptions">
</video>
<!-- Audio with transcript -->
<audio controls>
<source src="podcast.mp3" type="audio/mp3">
</audio>
<details>
<summary>Transcript</summary>
<p>Full transcript text...</p>
</details>Operable
Keyboard accessible (2.1)
All functionality must be keyboard accessible:
// ❌ Only handles click
element.addEventListener('click', handleAction);
// ✅ Handles both click and keyboard
element.addEventListener('click', handleAction);
element.addEventListener('keydown', (e) => {
if (e.key === 'Enter' || e.key === ' ') {
e.preventDefault();
handleAction();
}
});No keyboard traps. Users must Tab in/out of every component. Use modal focus trap pattern for dialogs — native <dialog> handles auto.
Focus visible (2.4.7)
/* ❌ Never remove focus outlines */
*:focus { outline: none; }
/* ✅ Use :focus-visible for keyboard-only focus */
:focus {
outline: none;
}
:focus-visible {
outline: 2px solid #005fcc;
outline-offset: 2px;
}
/* ✅ Or custom focus styles */
button:focus-visible {
box-shadow: 0 0 0 3px rgba(0, 95, 204, 0.5);
}Focus not obscured (2.4.11) — new in 2.2
Focused element must not be entirely hidden by author-created content (sticky headers, footers, overlapping panels). At AAA (2.4.12), no part of focused element may be hidden.
/* ✅ Account for sticky headers when scrolling to focused elements */
:target {
scroll-margin-top: 80px;
}
/* ✅ Ensure focused items clear fixed/sticky bars */
:focus {
scroll-margin-top: 80px;
scroll-margin-bottom: 60px;
}Skip links (2.4.1)
Skip link lets keyboard users bypass repetitive nav. See skip link pattern for markup + styles.
Target size (2.5.8) — new in 2.2
Interactive targets must be ≥ 24 × 24 CSS pixels (AA). Exceptions: inline text links, browser-controlled sizes, targets where 24px circle centered on bounding box doesn't overlap another target.
/* ✅ Minimum target size */
button,
[role="button"],
input[type="checkbox"] + label,
input[type="radio"] + label {
min-width: 24px;
min-height: 24px;
}
/* ✅ Comfortable target size (recommended 44×44) */
.touch-target {
min-width: 44px;
min-height: 44px;
display: inline-flex;
align-items: center;
justify-content: center;
}Dragging movements (2.5.7) — new in 2.2
Drag actions need single-pointer alternative (buttons, inputs). See dragging movements pattern for sortable-list example.
Timing (2.2)
// Allow users to extend time limits
function showSessionWarning() {
const modal = createModal({
title: 'Session Expiring',
content: 'Your session will expire in 2 minutes.',
actions: [
{ label: 'Extend session', action: extendSession },
{ label: 'Log out', action: logout }
],
timeout: 120000
});
}Motion (2.3)
/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}Understandable
Page language (3.1.1)
<!-- ❌ No language specified -->
<html>
<!-- ✅ Language specified -->
<html lang="en">
<!-- ✅ Language changes within page -->
<p>The French word for hello is <span lang="fr">bonjour</span>.</p>Consistent navigation (3.2.3)
<!-- Navigation should be consistent across pages -->
<nav aria-label="Main">
<ul>
<li><a href="/" aria-current="page">Home</a></li>
<li><a href="/products">Products</a></li>
<li><a href="/about">About</a></li>
</ul>
</nav>Consistent help (3.2.6) — new in 2.2
If help mechanism (contact info, chat widget, FAQ link, self-help) repeats across pages, must appear in same relative order each time. Users relying on consistent placement shouldn't hunt for help per page.
Form labels (3.3.2)
Every input needs programmatically associated label. See form labels pattern for explicit, implicit, instructional examples.
Error handling (3.3.1, 3.3.3)
Announce errors to screen readers via role="alert" or aria-live. Set aria-invalid="true" on invalid fields. Focus first error on submit. See error handling pattern for markup + JS.
Redundant entry (3.3.7) — new in 2.2
Don't force re-entry of info already provided same session. Auto-populate from earlier steps, or let users pick previously entered values. Exceptions: security re-confirmation, expired content.
<!-- ✅ Auto-fill shipping address from billing -->
<fieldset>
<legend>Shipping address</legend>
<label>
<input type="checkbox" id="same-as-billing" checked>
Same as billing address
</label>
<!-- Fields auto-populated when checked -->
</fieldset>Accessible authentication (3.3.8) — new in 2.2
Login must not rely on cognitive function tests (remembering password, solving puzzle) unless ≥ one of:
- Copy-paste or autofill available
- Alternative method exists (passkey, SSO, email link)
- Test uses object recognition or personal content (AA only; AAA removes this exception)
<!-- ✅ Allow paste in password fields -->
<input type="password" id="password" autocomplete="current-password">
<!-- ✅ Offer passwordless alternatives -->
<button type="button">Sign in with passkey</button>
<button type="button">Email me a login link</button>Robust
ARIA usage (4.1.2)
Prefer native elements:
<!-- ❌ ARIA role on div -->
<div role="button" tabindex="0">Click me</div>
<!-- ✅ Native button -->
<button>Click me</button>
<!-- ❌ ARIA checkbox -->
<div role="checkbox" aria-checked="false">Option</div>
<!-- ✅ Native checkbox -->
<label><input type="checkbox"> Option</label>When ARIA needed, use correct roles + states. See ARIA tabs pattern for complete tablist example.
Live regions (4.1.3)
Use aria-live regions to announce dynamic content changes without moving focus. See live regions pattern for markup + showNotification() helper.
Testing checklist
Automated testing
# Lighthouse accessibility audit
npx lighthouse https://example.com --only-categories=accessibility
# axe-core
npm install @axe-core/cli -g
axe https://example.comManual testing
- Keyboard nav: Tab through page, Enter/Space to activate
- Screen reader: Test VoiceOver (Mac), NVDA (Windows), TalkBack (Android)
- Zoom: Usable at 200% zoom
- High contrast: Test Windows High Contrast Mode
- Reduced motion: Test
prefers-reduced-motion: reduce - Focus order: Logical, follows visual order
- Target size: Interactive elements meet 24×24px min
See screen reader commands reference for VoiceOver + NVDA shortcuts.
Common issues by impact
Critical (fix now)
- Missing form labels
- Missing image alt text
- Insufficient color contrast
- Keyboard traps
- No focus indicators
Serious (fix before launch)
- Missing page language
- Missing heading structure
- Non-descriptive link text
- Auto-playing media
- Missing skip links
Moderate (fix soon)
- Missing ARIA labels on icons
- Inconsistent navigation
- Missing error identification
- Timing without controls
- Missing landmark regions
References
- WCAG 2.2 Quick Reference
- WAI-ARIA Authoring Practices
- Deque axe Rules
- Web Quality Audit
- WCAG criteria reference
- Accessibility code patterns
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

