/crewforth:a11yfrom Crewforth
Audits UI for WCAG 2.2 AA accessibility: keyboard navigation, screen reader support, contrast, focus management, and ARIA usage. Stack-agnostic for web, React, or React Native.
Ships in Crewforth. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Trigger phrases: "a11y", "accessibility", "WCAG", "screen reader", "keyboard navigation", "contrast", "ARIA", "keyboard only", "with a keyboard", "keyboard focus", "without a mouse", "focus ring", "tab order", "alt text", "color blind", "colour blind", "voiceover", "talkback", "reduced motion", "target size", "focus not obscured", "focus is hidden", "WCAG 2.2"
Goal: make the interface usable by everyone, including keyboard, screen reader, and low vision. Baseline target: WCAG 2.2 AA. Stack-agnostic (web/React/RN); do a web search when needed for framework-specific APIs.
button/a/nav/main/h1..h6 correct; no div-buttonsalt on meaningful images; alt="" on decorative imageslabel; error message programmatically linked (aria-describedby)prefers-reduced-motion; anything that moves for more than 5 s can be paused (2.2.2)<html lang> correct (coordinate with i18n)WCAG 2.2 added these; a 2.1 checklist misses all of them:
Commonly missed, all checkable in the markup:
autocomplete tokenmaximum-scale=1 or
user-scalable=no in the viewport metamaintabindex: 0 and -1 only; order comes from the DOMCriteria, not conventions. A failed A or AA criterion, or a task a keyboard or screen-reader user cannot finish, is a finding. AAA, an ARIA Authoring Practices pattern, or a 44 px target where 24 px passes is a recommendation: say so, and never rank it with a finding.
| Pattern in the diff | Why it fails |
|---|---|
outline: none / outline: 0 with no :focus-visible rule | focus becomes invisible (2.4.7) |
<div onClick / <span onClick with no role and key handler | not reachable by keyboard (2.1.1) |
tabindex="1" or higher | breaks the reading order (2.4.3) |
disabled={!isValid} on a submit | hides why the form cannot be sent |
| a live region rendered together with its text | many readers announce nothing: render it empty first |
maximum-scale=1, user-scalable=no | blocks zoom (1.4.4) |
aria-hidden="true" on an element that holds something focusable | focus lands on nothing the reader can name |
<img with no alt | no text alternative (1.1.1) |
onDrag/draggable with no button or menu path | no single-pointer alternative (2.5.7) |
| Symptom | Usual cause | Fix |
|---|---|---|
| Reader says "button" and nothing else | icon-only button with no name | aria-label, or visually hidden text |
| Tab skips an element | a div handling clicks | a real button / a |
| Focus lost after a modal closes | focus not returned | return it to the element that opened the modal |
| An error appears and nothing is announced | message not tied to the field or a live region | aria-describedby on the field; a status region for the summary |
| Layout breaks at 200% zoom | fixed heights or widths in px | let text boxes grow; min-width: 0 on flex and grid children |
Recipes for focus, forms and announcements (which channel says what, in order): references/recipes.md.
button instead of role="button"+div.aria-label on visual-only icon buttons).aria-live); manage modal focus.htmlFor/aria-*; use button instead of a clickable div.accessible, accessibilityLabel, accessibilityRole, accessibilityState (coordinate with frontend-rn-expo).meetsGuideline with the tap-target, label and contrast guidelines) on every new screen (coordinate with frontend-flutter).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
wcag, screen-reader, keyboard-navigation, aria, contrast, focus-management
npx claudepluginhub crewforth/crewforth --plugin crewforth60 skills in this plugin
/adrArchitecture Decision Record: context-decision-consequences, for decisions that are expensive to reverse.
Written under docs/adr/.
/api-designUse when an API contract is designed or changed: a new endpoint or resource, how its errors and pages
are returned, a field to add or remove, or a version to cut without breaking a consumer.
/automode-policyAuto-mode classifier config: inspect what the classifier that answers permission prompts is configured
with, and catch the silent case where a custom autoMode block drops the built-in block rules.
Other plugins' skills for the same job