Accessibility Patterns
A compact web accessibility reference covering WCAG 2.2 AA criteria, ARIA patterns, keyboard navigation and axe-core testing.
Design & UIIntermediate★ 526⑂ 44AI score 7/10Last updated: Aug 8, 2026
What it does
- WCAG 2.2 AA criteria tables: Perceivable / Operable / Understandable rules with success-criterion numbers (alt text, 4.5:1 contrast, visible focus, 24×24px target size, etc.).
- Correct ARIA snippets: dialog (
role="dialog",aria-modal), tabs (role="tablist"), and live regions (aria-live) — the markup teams most often get wrong. - Keyboard navigation: a ready-to-paste React
useFocusTraphook for modals and dialogs. - Skip links & motion: skip-to-content pattern plus a
prefers-reduced-motionCSS block. - Testing & checklist:
npx @axe-core/cliand Lighthouse audit commands, a 10-item pre-ship checklist, and a list of common anti-patterns.
Who it's for
- Frontend developers working in React/Next.js or plain HTML/CSS
- Teams shipping products that must meet accessibility regulations (gov, finance, edu)
- Design system and component library maintainers doing reviews
- Teams starting accessibility work who need a concrete starting checklist
Examples
- Fix a modal: "Refactor this Dialog per accessibility-patterns" → Claude adds
aria-modal,aria-labelledbyand wires in the focus trap hook. - Pre-release audit: "Audit this page markup against the checklist" → flags missing alt text, color-only information, removed focus outlines.
- CI integration: "Add an accessibility gate with axe-core and Lighthouse" → builds a pipeline step from the CLI commands in the doc.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/vibeeval/vibecosystem/HEAD/skills/accessibility-patterns/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/accessibility-patterns folder from the GitHub repo vibeeval/vibecosystem into my ~/.claude/skills/accessibility-patterns/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/vibeeval/vibecosystem.git /tmp/vibecosystem && mkdir -p ~/.claude/skills && cp -r /tmp/vibecosystem/skills/accessibility-patterns ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repository into a temp folder:
git clone https://github.com/vibeeval/vibecosystem.git /tmp/vibecosystem - Create your skills directory:
mkdir -p ~/.claude/skills - Copy just this skill:
cp -r /tmp/vibecosystem/skills/accessibility-patterns ~/.claude/skills/ - Verify with
ls ~/.claude/skills/accessibility-patterns— you should see SKILL.md. - Restart Claude Code and try: "Review this component for WCAG 2.2 AA accessibility."
- (Optional) To use the automated checks, confirm the tooling works:
npx @axe-core/cli --version.
View source on GitHub ↗License: MIT