web-accessibility
Skill0 starsChanged 3 months agoMITView on GitHub
Run a WCAG 2.2 AA accessibility audit on a web page or section like a senior designer — contrast on every text/background pair, visible :focus-visible states on every interactive element, prefers-reduced-motion respect on every animation, keyboard order that matches reading order, tap targets ≥ 44 × 44 px, screen-reader hygiene (alt, labels, landmarks, heading order), forms with visible labels and announced errors, and colour-never-carries-meaning-alone. Use when the user asks for an accessibility audit, a WCAG AA check, a contrast audit, a focus-state review, a keyboard-navigation review, a reduced-motion audit, or a form-accessibility review. Failures are blockers, not nits. Push to AAA where cheap.
19 other projects use a version of this.
Adopted by
Most recently taken up by
- aktsmm/Agent-Skillstheir own version, first seen Nov 8, 2026
- Shui-Ching/skillstheir own version, first seen Nov 8, 2026
- reddygopalkrishna/developer-agent-skillstheir own version, first seen Nov 8, 2026
- Lukk17/agent-standardstheir own version, first seen Nov 7, 2026
- wazeerc/skillstheir own version, first seen Nov 1, 2026
- ziniman/ai-instructtheir own version, first seen Nov 1, 2026
Used with
Projects with it also use web-performance, api-design and 1 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.
MRCalderon3DSkillweb-performance
Keep a browser game inside its frame budget through allocation discipline, pooling, and devtools-driven profiling.
Also in 3 projects that use this
MicrosoftSkillapi-design
Guide for designing and documenting RESTful APIs. Use when asked to design an API, create endpoints, or document an API.
Also in 3 projects that use this
SentrySkillsecurity-review
Finds exploitable application security vulnerabilities in code changes. Use for Warden security scans, appsec review, OWASP-style checks, authentication or authorization bugs, injection, XSS, SSRF, path traversal, secrets, unsafe crypto, webhook verification, open redirects, or sensitive data exposure.
Also in 3 projects that use this
Other versions19 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 19
- hoodini/ai-agents-skills★ 295same name
- magnus919/agent-skills★ 172same name
- ziniman/ai-instruct★ 29same name
- aktsmm/Agent-Skills★ 26same name
- s-hiraoku/synapse-a2a★ 17same name
- reddygopalkrishna/developer-agent-skills★ 8same name
- chadixearth/graphyloop★ 3same name
- 1leyo/web-accessibility-skill★ 2same name
- Adhamxon/claude-code-skills★ 2same name
- Makiya1202/ai-agents-skills★ 2same name
9 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 repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- skill-makerSkill
- web-colorSkill
- web-componentsSkill
- web-copySkill
- web-motionSkill
- web-typographySkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. 0 are common, 7 are distinctive, and 8 are very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Every failure appears in the change list as a blocker, not a suggestion.
- Distinctive: line 38
If the project has any of these, load them:
- Distinctive: line 48
Respect the existing token vocabulary: If a fix needs a new colour or focus token, add a sibling.
- Very specific: line 67
Every interactive element (button, link, input, custom control) needs a visible :focus-visible state that isn't colour alone.
- Very specific: line 74
Never outline: none without a replacement.
- Very specific: line 79
Every animation respects prefers-reduced-motion.
- Very specific: line 107
Every <img> has alt (descriptive if meaningful, empty if decorative).
- Very specific: line 108
Every <input> has an associated <label>.
- Very specific: line 109
Every button says what it does — icon-only buttons need aria-label.
- Distinctive: line 115
Never carry state on colour alone.
- Very specific: line 129
Use assets/review-template.md for the output shape.
- Very specific: line 161
Every interactive element has a :focus-visible state described.
- Distinctive: line 162
Every motion mentioned has its reduced-motion behaviour described.
- Distinctive: line 165
No colour-only state indication.
- Distinctive: line 167
No token rename in the change list.
“Common” is measured: kept by at least 6 in 10 of the 13 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
Web Accessibility
Runs the accessibility stage of a design pass on a website page or section. Standard: WCAG 2.2 AA everywhere; push to AAA where cheap. Every failure appears in the change list as a blocker, not a suggestion.
Output is a written audit plus a prioritised change list, not applied edits.
Process
1. Read the target
Identify what to audit. The target can be:
- a URL → fetch with
WebFetch - a file path →
Readit - a screenshot → describe from the image
- a section named in prose → ask the user which file it maps to
Extract, in one pass: the current colour tokens or values, the current
interactive elements (buttons, links, form inputs, custom controls), any
motion in play, and any explicit accessibility posture in DESIGN.md
or similar. Do not propose changes yet.
2. Read the design system
If the project has any of these, load them:
- a
DESIGN.mdat repo root — often codifies the accessibility posture - a tokens file (
tokens.css,_variables.scss,theme.ts, Tailwind@themeblock) - a styleguide route
Rules that apply everywhere until proven otherwise:
- Add tokens, do not rename them. Renames break every consumer.
- Respect the existing token vocabulary. If a fix needs a new colour or focus token, add a sibling; never rename.
3. Contrast
Open references/accessibility.md for the full checklist.
For every text/background pair on the target, check:
- Body text: 4.5:1 minimum. AAA is 7:1.
- Large text: 3:1 minimum (≥ 18px regular, ≥ 14px bold). AAA is 4.5:1.
- Non-text UI (icons, borders, focus rings): 3:1 minimum against adjacent colour.
- Placeholder text counts as body text — 4.5:1.
Report as a matrix with actual ratios. Failures → blockers.
4. Focus states
Every interactive element (button, link, input, custom control) needs a
visible :focus-visible state that isn't colour alone. Either:
- A 2–3px outline offset from the element, meeting 3:1 non-text contrast on both possible backgrounds; or
- A background-colour shift that also meets 3:1.
Never outline: none without a replacement. Prefer :focus-visible over
:focus.
5. Motion
Every animation respects prefers-reduced-motion. Two levels:
- Baseline — global block shortens animations to 0.01ms.
- Considered — hero animations ship a hand-crafted reduced-motion variant that shows the end state immediately.
Additional vestibular checks: no large parallax, no auto-carousels without pause, nothing flashes more than 3 times per second, no large sudden slide-in on scroll for big elements.
6. Keyboard order
Tab order matches visual reading order. Common breaks to check:
- Modals that don't trap focus.
- Custom dropdowns without arrow-key handling.
- Whole-card links with a nested inner link — one, not both.
tabindexvalues > 0 (anti-pattern; hijacks order).
7. Tap targets
Touch surfaces: minimum 44 × 44 CSS pixels per target, with ≥ 8px spacing between adjacent targets.
8. Screen-reader hygiene
Baseline pass:
- Every
<img>hasalt(descriptive if meaningful, empty if decorative). - Every
<input>has an associated<label>. - Every button says what it does — icon-only buttons need
aria-label. - Landmark structure: one
<main>,<nav>,<header>,<footer>. - Headings in order (
h1→h2→h3, no skipping). Oneh1per page.
9. Colour ≠ meaning
Never carry state on colour alone. Red error borders need an icon or text label. Green success badges need "Success" text or a monochrome icon. ~8% of men and ~0.5% of women have colour-vision deficiency.
10. Forms
- Labels visible, above the input (not placeholder-only).
- Required fields marked with more than colour (
*+aria-required). - Errors tied to inputs via
aria-describedby. - Inline validation via
aria-live="polite"orrole="alert". - Autocomplete attributes on personal-data fields.
11. Output
Use assets/review-template.md for the output shape.
Always-on rules
- WCAG 2.2 AA is the floor. Failures are blockers, not suggestions.
- Push to AAA where cheap. Palette or motion vocabulary allowing.
- No token renames. Additions only.
- Never
outline: nonewithout a replacement. prefers-reduced-motionis respected by every animation.- Colour never carries meaning alone.
Edge cases
- Design fails contrast in one spot. Propose the smallest lightness adjustment that clears the ratio; never abandon the pair without trying a value shift.
- Whole-card link + inner link. Pick one — usually the whole card,
with the inner "link" being visual only (styled but not
<a>). - Reduced-motion respected globally but a hero animation is cinematic. Recommend a hand-crafted reduced-motion variant, not just the global cut.
- Placeholder-as-label pattern. Blocker. Recommend visible labels above inputs.
- Icon-only buttons everywhere. Recommend
aria-labelon each, ideally with a hidden or on-hover visible label. - Design system codifies its own posture (e.g.
DESIGN.mdsays "no token renames"). Reinforce it; don't propose anything that violates it.
Checks before finishing
- Contrast matrix present, with actual ratios.
- Every interactive element has a
:focus-visiblestate described. - Every motion mentioned has its reduced-motion behaviour described.
- Tab order confirmed to match reading order (or flagged where broken).
- Tap targets ≥ 44 × 44 px on touch.
- No colour-only state indication.
- Form labels visible; error-announcement pattern described.
- No token rename in the change list.
- Change list is ordered blockers first.
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.

