accessibility
Skill59 starsChanged 2 months agoMITView on GitHub
Build and fix interfaces so they meet WCAG 2.2 AA in practice — native semantics, keyboard paths, focus order and visibility, accessible names, contrast, form errors, live regions, target size. Fires while writing or reviewing UI code, when a component is keyboard- or screen-reader-hostile, or when an audit finding has to be turned into a change. Not for proving the result (accessibility-verification), not for viewport layout work (responsive-design), and not a recital of the standard.
70 other projects use a version of this.
Adopted by
Most recently taken up by
- microsoft/vscodetheir own version, first seen Nov 12, 2026
- flavien-ia/hypervibe-harnesstheir own version, first seen Oct 4, 2026
- LuisUrrutia/skillstheir own version, first seen Oct 4, 2026
- STIFLEUR390/kwiktalk-docstheir own version, first seen Oct 3, 2026
- aprameyak/coding-skillstheir own version, first seen Oct 2, 2026
- microsoft/hve-coretheir own version, first seen Sep 29, 2026
Used with
Projects with it also use web-quality-audit, core-web-vitals and 7 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.
RodrigoTomeESSkillweb-quality-audit
Comprehensive web quality audit covering performance, accessibility, SEO, and best practices. Use when asked to "audit my site", "review web quality", "run lighthouse audit", "check page quality", or "optimize my website".
Also in 8 projects that use this
thisisAhsanIqbalSkillcore-web-vitals
Audits HTML patterns that affect Core Web Vitals (LCP, CLS, INP). Checks for layout shift causes, largest contentful paint blockers, and interaction responsiveness issues. Use when optimising page performance or fixing Google PageSpeed Insights warnings.
Also in 10 projects that use this
agentset-aiCursor ruleanimations
Animations Rules and Best Practices
Also in 3 projects that use this
kpbraySkillbest-practices
Applies Power BI best practices, BPA rules, and enterprise standards. Use for quality validation, naming conventions, and performance optimization.
Also in 7 projects that use this
pluginagentmarketplaceSkillperformance
Optimize application performance through caching strategies, load balancing, database scaling, and monitoring. Build systems handling thousands of concurrent users.
Also in 13 projects that use this
mmondoraSkilldata-modeling
Schema design, multi-tenant data isolation, and migration management. Firestore and PostgreSQL patterns, RLS, UUID v7 conventions. Use when designing database schemas, writing migrations, or implementing multi-tenant data access.
Also in 4 projects that use this
Other versions70 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 70
- microsoft/vscode★ 196ksame name
- elastic/kibana★ 21ksame name
- addyosmani/web-quality-skills★ 2.9ksame name
- microsoft/hve-core★ 1.5ksame name
- evanca/flutter-ai-rules★ 646same name
- TheDecipherist/claude-code-mastery-project-starter-kit★ 338same name
- VeryGoodOpenSource/vgv-ai-flutter-plugin★ 168same name
- ever-works/ever-works★ 157same name
- ricneves-ai/flowgrammers-skills★ 115same name
- templetongroup/radiant★ 113same name
60 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 repository79 other files it gives its agents.
- agent-dispatcherSkill
- agent-designSkill
- agent-evalsSkill
- context-engineeringSkill
- llm-observabilitySkill
- mcp-designSkill
- memory-designSkill
- model-routingSkill
- prompt-engineeringSkill
- prompt-injection-defenseSkill
- retrieval-ragSkill
- structured-outputSkill
- tool-designSkill
- api-contract-verificationSkill
- api-designSkill
- authenticationSkill
- authorizationSkill
- background-jobsSkill
- cachingSkill
- idempotency-and-retriesSkill
- webhooksSkill
- database-migration-verificationSkill
- data-integritySkill
- data-pipelinesSkill
- data-qualitySkill
- migrationsSkill
- postgresSkill
- query-optimizationSkill
- schema-designSkill
- accessibility-verificationSkill
- design-systemsSkill
- design-to-codeSkill
- frontend-designSkill
- motion-designSkill
- responsive-designSkill
- ui-auditSkill
- ux-writingSkill
- ci-cdSkill
- deploymentSkill
- dockerSkill
- github-actionsSkill
- incident-responseSkill
- observabilitySkill
- release-verificationSkill
- rollbackSkill
- component-architectureSkill
- frontend-performanceSkill
- shadcn-uiSkill
- stack-detectionSkill
- tailwindSkill
- visual-verificationSkill
- competitive-analysisSkill
- copywritingSkill
- data-analysisSkill
- deep-researchSkill
- documentation-verificationSkill
- positioningSkill
- seoSkill
- source-evaluationSkill
- technical-writingSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 64 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 35
Keep focus visible and unobscured: Never delete an outline without shipping a replacement.
- Distinctive: line 60
Add ARIA last, and as little as possible: No ARIA beats wrong ARIA: an incorrect role silently overrides the real one.
“Common” is measured: kept by at least 6 in 10 of the 64 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 in practice
Most barriers are created by replacing something the platform already made accessible. The cheapest accessible component is the one you did not rebuild.
When this fires
While building or changing any interactive UI, and when turning an audit finding into a fix. It does
not fire to prove a screen is accessible — that is accessibility-verification, and it needs a
keyboard and a screen reader, not a code read.
Procedure
- Use the native element first.
button,a[href],input,label,select,details,dialog,table. Each arrives with a role, keyboard behaviour, focus handling and state reporting you would otherwise have to write and maintain. Adivwith a click handler has none of it. If the project already has an accessible component for this, reuse that instead. - Get the structure right before the styling. One
h1per view, headings in descending order with none skipped, real landmarks (header,nav,main,footer), lists marked up as lists, a unique page title per route. Screen reader users navigate by these; they are the table of contents, not decoration. - Give every control a name that matches its visible label. Visible text is the name where
possible;
label[for]for inputs; anaria-labelonly for controls with no visible text, such as an icon button. When there is visible text, the accessible name must contain it — a button reading "Save" named "Submit form" breaks voice control. - Walk the keyboard path yourself. Tab reaches everything interactive, in DOM order; Enter and
Space operate it; Escape closes what opened; focus never gets stuck. Do not use positive
tabindex— fix the DOM order instead. Composite widgets (menus, tabs, grids) take one Tab stop and move internally with arrow keys. - Keep focus visible and unobscured. Never delete an outline without shipping a replacement.
Style
:focus-visibleso it survives sticky headers, overflow clipping and dark backgrounds, and check that a sticky bar or cookie banner does not cover the focused element. - Move focus deliberately when the view changes. Opening a dialog moves focus into it and traps
it there; closing returns focus to the element that opened it; a client-side route change moves
focus to the new heading or main region. Focus left behind on a removed node goes to
body, and the user loses their place silently. - Choose colours that carry the contrast. 4.5:1 for body text, 3:1 for large text and for the boundaries of controls, focus rings and meaningful graphics. Check hover, active, selected and error states too, and text sitting over images or gradients. Never let colour alone carry meaning — pair it with text, an icon or a pattern.
- Make forms explain themselves programmatically. Associate the error with its field
(
aria-describedby), mark the field invalid (aria-invalid), and write error text that says what is wrong and how to fix it. Useautocompletetokens on personal-data fields. Do not make people re-enter information they already gave you in the same flow, and do not block paste in password or one-time-code fields. - Announce what changes without a page load. A status message needs a live region that already
exists in the DOM before it updates —
aria-live="polite"for status,role="alert"for errors. Announce once, keep it short, and do not wire a live region to something that updates constantly. - Respect the user's settings. Honour
prefers-reduced-motionby removing movement, not by speeding it up. Respectprefers-color-schemeandprefers-reduced-transparencywhere the design uses them. Never disable zoom in the viewport meta tag. - Cover the WCAG 2.2 additions that bite hardest. Any drag interaction needs a single-pointer alternative (click or button). Interactive targets are at least 24×24 CSS px unless spaced or inline in a sentence. Help links stay in the same relative place across pages.
- Add ARIA last, and as little as possible. No ARIA beats wrong ARIA: an incorrect role
silently overrides the real one. Never put
aria-hiddenon anything focusable, and never invent role/state combinations — copy an established pattern and keep its keyboard contract intact. - Stop and ask before changing shared surfaces. A contrast fix that alters a brand token, or a markup change inside a shared design-system component, affects screens you are not looking at. Propose the change with the reason; do not push it through on your own authority.
Checklist
- Every interactive element is a native control or reuses an existing accessible component
- Heading order and landmarks make sense read alone, with no skipped levels
- Every control has a name, and it contains the visible label text
- Tab reaches everything, in a sensible order, with no trap and no positive
tabindex - Focus is always visible and never covered by sticky or overlaying chrome
- Dialog and route changes move focus, and closing returns it
- Text and control boundaries meet contrast in every state, including over imagery
- Errors are associated with their fields and readable without colour
- Dynamic messages land in a live region that existed beforehand
- Reduced motion honoured; zoom not disabled
- Drag interactions have a click alternative; targets are 24×24 CSS px or spaced
- ARIA added only where a native element could not do the job
Failure handling
- The component is a third-party widget you cannot change — say so, record the specific barrier, and look for a documented accessible mode or a replacement. Do not paper over it with ARIA that describes behaviour the widget does not have.
- The fix needs a design decision (a token fails contrast, a layout has no room for a 24px target) — name the conflict and the options, and let the design owner choose. Do not quietly ship a visual change to satisfy a checker.
- A pattern has no obvious accessible form — look up the established pattern for it rather than inventing roles. If the project pins a component library, check that library's current accessibility API before assuming what it supports.
- A checker passes but the interaction still feels wrong — trust the interaction. Automated rules cannot see whether a name is meaningful or an order is logical.
Evidence to report
Name the elements changed and why: which control became a button, which name was added, where focus
now moves, which token changed and its measured ratio before and after. State plainly that these are
implementation changes — they are unverified until someone drives the keyboard and a screen reader.
Hand the claim to accessibility-verification; do not call it conformant here.
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.

