← ClaudeAtlas

accessibility-wcaglisted

Audits and fixes web accessibility against WCAG 2.2 level AA: semantic HTML, accessible names, ARIA roles and states, keyboard access and focus management, dialogs, forms and error messages, live regions, color contrast, target size, reduced motion, and automated checks with axe. Use when reviewing or writing HTML, JSX or CSS for accessibility, fixing axe, Lighthouse or WAVE findings, building an accessible modal, menu, tabs, combobox or form, or when someone mentions a11y, WCAG, screen readers, keyboard access or contrast. Not for performance tuning (performance-optimization), general React re-render issues, or legal advice on which accessibility law applies.
mahdy-gribkov/arcana · ★ 1 · Web & Frontend · score 67
Install: claude install-skill mahdy-gribkov/arcana
# Accessibility (WCAG 2.2 AA) The default target is WCAG 2.2 level AA, which also satisfies 2.1 AA. If a contract or law names another version, use that one and say so. Native HTML first: a real `<button>`, `<a href>`, `<label>`, `<dialog>` or `<select>` brings keyboard support, focus and screen reader semantics for free. ARIA only fills gaps HTML cannot, and wrong ARIA is worse than none. ## Rules that catch most failures 1. Every interactive element is a native control or has the full ARIA role, state and keyboard pattern from the WAI-ARIA Authoring Practices Guide (APG). 2. Every control has an accessible name; every form field has a visible `<label>`. Placeholder text is not a label. 3. Every action works with the keyboard alone, in a logical order, with a visible focus indicator. 4. Focus moves into a dialog when it opens and returns to the trigger when it closes; the page behind is inert. 5. Errors and status are not conveyed by color alone and are announced (`aria-describedby`, `aria-invalid`, a live region). 6. Text contrast is at least 4.5:1, large text 3:1, and UI parts and focus indicators 3:1 against what is next to them. 7. Images have `alt` that says what they convey, or `alt=""` when decorative. ## A button and a dialog BAD: a clickable `div` and a hand-built modal with no semantics. ```tsx <div className="btn" onClick={onDelete}>Delete</div> <div className="modal"><div className="title">Delete project?</div>...</div> ``` GOOD: a real button, and the