/fe:accessibilityfrom Frontend Skills
Building UI that meets WCAG 2.2 AA beyond the markup — text alternatives, contrast checked on the tokens in both themes, reflow and zoom, keyboard and focus (order, visibility, dialogs, skip link, not obscured), target size, pointer and motion, labels, errors people see, accessible sign-in, ARIA states and live regions, and the gates that verify it: lint, Storybook axe at error, keyboard stories and screen-reader passes. Use when building or reviewing any interactive UI, a form, a dialog or a colour token.
Ships in Frontend Skills. 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.
UI everyone can use — with a screen reader, a keyboard alone, magnification, voice control, or low-vision, motor or cognitive needs — and verified, not asserted. The target is WCAG 2.2 level AA. It starts from the right element (semantic-html); this skill adds what markup alone can't promise: how things look, move, take focus and announce.
Before applying this skill, read the project's root AGENTS.md, the AGENTS.md closest to the files in question, and any doc they link for this skill's topic. Names, values and choices — budgets, tiers, tokens, voice, paths — come from those files, never from this skill.
<button>, a link, a <dialog>, <details> (semantic-html). ARIA changes only what assistive technology is told, never behaviour: a role you add commits you to that role's whole keyboard contract.alt says what it conveys, not what it is; a decorative one is alt=""; an icon-only control gets its name from aria-label or visually hidden text; a chart or diagram gets its data in text nearby.design-system, tailwind); a measured pair, never an eyeballed one.user-scalable=no and no maximum-scale below 2.tabindex). tabindex="0" joins the natural order, -1 takes focus only from code, a positive value never.:focus-visible ring with 3:1 contrast against what's behind it (1.4.11), in both themes; removing the outline only with a replacement — Tailwind's outline-hidden, never outline-none, so forced-colours mode still draws one.order and absolute positioning never reorder meaning.scroll-padding on the scrolling container matches their height.inert), Escape closes, and focus returns to the control that opened them. Native <dialog> with showModal() does most of this; the Popover API is always non-modal, so it suits menus and tooltips, never a modal drawer. Every dialog is named by its heading (aria-labelledby).<main>. Landmarks and headings also meet 2.4.1; the skip link is the house's way.aria-current="location"; site navigation marks the current page with aria-current="page".prefers-reduced-motion; a time limit — a session about to end — warns and lets the person extend it (2.2.1).<html lang>, and passages in another language carry their own lang (3.1.2). Brand names and codes that mustn't be machine-translated take translate="no".seo-aeo-geo).aria-describedby, aria-invalid), and are seen: a summary near the submit button, or the page scrolls to and focuses the first invalid field.auth).aria-expanded and aria-controls on a disclosure, aria-pressed on a toggle, aria-selected in tabs and listboxes, aria-checked on a custom checkbox.role="status", or role="alert" for errors) that exists before its content changes, or the change isn't read. A computed result goes in <output>.aria-hidden, the region it fills carries aria-busy while it loads, and the result — loaded, or failed — is announced through the status region.aria-hidden="true", never on anything focusable.Automated checks find only part of the problems; every layer runs.
eslint-plugin-jsx-a11y catches missing names, invalid ARIA and click handlers on non-interactive elements as code is written. eslint-config-next turns on only a handful of its rules, as warnings, so the shared config adds jsx-a11y's recommended set at error.parameters.a11y.test: "error", so a violation fails the test run, and interactive components carry a keyboard play story — Tab to it, operate it, check focus (storybook). Together with lint, that's the component gate.@axe-core/playwright and asserts no violations. @axe-core/react doesn't support React 18 or later; don't add it.Browser snippets for checking a rendered page — unlabelled inputs, small targets, contrast, focus order — are in references/audit-snippets.md. A full review against WCAG is accessibility-audit.
role without its keyboard behaviour; remove a focus ring without a replacement; use a positive tabindex; convey meaning by colour alone; block zoom; let a placeholder be the label; put aria-hidden on something focusable; trust an automated score as proof.Element choice, headings, labels and landmarks semantic-html · colour tokens and contrast pairs design-system, tailwind · component behaviour and focus management reusables · keyboard and axe stories storybook · route announcements and titles nextjs, seo-aeo-geo · sign-in auth · end-to-end checks testing · the review accessibility-audit.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub timonwa/engineering-skills --plugin fe20 skills in this plugin
/accessibility-auditManually invoked. Red-team accessibility audit of an app or a diff against WCAG 2.2 AA, organised by POUR with each check citing its success criterion — structure and landmarks, contrast on the tokens in both themes, reflow and zoom, keyboard, focus and dialogs, pointer and target size, forms and errors that are seen, status messages, and the lint, Storybook and end-to-end gates. Verifies each finding and writes a prioritized report./content-auditManually invoked. Copy audit of an app, its emails or a diff, against the project's own voice, word list and banned words and the plain-language standards (GOV.UK, NN/g, WCAG) — point-first writing, marketing claims and calls to action, buttons and links, form labels and errors, empty, success and loading states, sentence case and mechanics, accessible words and alt text, translation-safe strings, and each transactional email's sender, subject, preheader and body. Verifies each finding and writes a prioritized report./cookie-consentCookie and tracking consent for a web app — what needs consent (any storage or read on the device), equal-weight accept and reject on the first layer, granular categories off by default, nothing non-essential before consent, withdrawal as easy as giving it, a minimal record of each choice, re-asking on a revision, Global Privacy Control, Google Consent Mode in basic mode, accessibility, and the vanilla-cookieconsent v3 mechanics in a reference. Use when adding a banner, an analytics or marketing script, or a consent category.Other plugins' skills for the same job