Build screens to WCAG 2.2
Ask Claude to build a screen and it follows WCAG 2.2 patterns for keyboards, screen readers, forms and phones.
See it work
You give it
Use accessibility-compliance. My pottery studio in Seattle takes class bookings in this React + Tailwind modal. Two customers using VoiceOver on iPhone said they got lost once it opened. Please make it WCAG 2.2 AA:
{open && (
<div className="fixed inset-0 bg-black/60" onClick={() => setOpen(false)}>
<div className="bg-white p-6 rounded-xl animate-[pop_400ms]">
<div className="text-xl font-bold">Wheel Throwing 101 · Sat Jan 10 · $85</div>
<input placeholder="Email" />
<p className="text-[#a3a3a3] text-sm">6 spots left</p>
<div onClick={reserve} className="bg-[#2bb3a3] text-white px-4 py-2">Reserve</div>
<span onClick={() => setOpen(false)}>✕</span>
</div>
</div>)}
You get back
Why they get lost: to VoiceOver, nothing opened. The wrapper is a plain <div>, with no dialog role and no name, and focus stays on the button behind the overlay, so VoiceOver carries on reading the page underneath. And when they do find the modal, any tap inside it closes it: the click bubbles up to the backdrop's onClick, so tapping the email field (or Reserve) runs setOpen(false). That last one is a bug for every customer, not only VoiceOver users.
What's wrong, by WCAG 2.2 criterion
# · Problem · WCAG · Fix
1 · The wrapper isn't a dialog: no role, no aria-modal, no name · 4.1.2 Name, Role, Value (A) · role="dialog", aria-modal="true", aria-labelledby the title
2 · Every tap inside the white box closes it · Not a WCAG item; it breaks booking for everyone · Make the backdrop a sibling of the panel, not its parent
3 · Focus doesn't move into the modal, isn't kept there, and doesn't come back when it closes. Escape does nothing · 2.1.2 No Keyboard Trap (A) · Focus trap while open, Escape closes, focus returns to the opener
4 · "Reserve" is a <div>: it can't be reached by keyboard and isn't announced as a button · 2.1.1 Keyboard (A), 4.1.2 (A) · <button type="submit">
5 · ✕ is a <span>: not focusable, no name, and far smaller than a fingertip · 2.1.1 (A), 4.1.2 (A), 2.5.8 Target Size (AA, 24 × 24 px minimum) · <button aria-label="Close dialog">, 44 × 44 px, the touch size for iPhone
6 · The email field has a placeholder and no label · 1.3.1 Info and Relationships (A) · A <label> tied to the input, plus autoComplete="email" for 1.3.5 Identify Input Purpose (AA)
Part of a run in Claude (Opus 5.5), Nov 2026
What it does
- Adds keyboard paths and keeps focus in the right place.
- Labels forms and controls so screen readers can read them.
- Respects reduced motion and high contrast settings.
What's inside
accessibility-compliance/CREDITS.mdaccessibility-compliance/LICENSEaccessibility-compliance/SKILL.mdaccessibility-compliance/references/aria-patterns.mdaccessibility-compliance/references/details.mdaccessibility-compliance/references/mobile-accessibility.mdaccessibility-compliance/references/wcag-guidelines.md
How you use it
- Get the skill: one zip file. It comes with every paid plan.
- Add it to Claude. In Claude, open Customize (Plugins on newer screens), then Skills. Press +, then Create skill, then Upload a skill. In Claude Code, unzip it into ~/.claude/skills/ instead.
- Start a new chat and tell Claude what you need, the way the example above does. The skill takes it from there.
- Then ask for the work. Claude reaches for the skill when it fits, or name it: "use accessibility-compliance".
Get this skill with a paid plan
The download comes with every paid plan, along with all 204 Claude skills and the rest of the AI toolkit. “Sites that don't look templated” in this folder is free, so you can try one first.