/website-builder-toolkit:site-accessibilityfrom website-builder-toolkit
Checks pages, screens, or components against WCAG 2.2 AA (AAA where brand profile allows). Runs contrast matrix, axe-core/Lighthouse scan, keyboard walk, screen reader smoke test, zoom, reflow, and reduced motion checks.
Ships in website-builder-toolkit. 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; scripts run unread.
Baseline: WCAG 2.2 level AA. AAA where it costs little or the brand profile sets contrast: aaa (7:1 body text). This skill checks and reports; fixes go through site-design, site-copy or the stack skill.
This is orientation, not legal advice. Whether a site falls under the BFSG, and which exemptions apply, is for the owner and their counsel. Do not write "BFSG-compliant" or "barrierefrei" into a page or report; write what was tested and with which result.
site-verify points here).<button>, <a href>, <nav>, <dialog>, <details>, <label>; ARIA only for patterns HTML lacks, and then the full pattern (roles, states, keys).<div> or <span> with a click handler as a control. Links go somewhere (<a href>); buttons do something (<button type="button">).tabindex. Use 0 to make a custom widget focusable, -1 for programmatic focus, otherwise fix the DOM order.:focus-visible { outline: 2px solid <token>; outline-offset: 2px } with ≥ 3:1 against the adjacent colors.user-scalable=no, maximum-scale=1). Use width=device-width, initial-scale=1.prefers-reduced-motion. Remove parallax, zoom and scroll-linked movement under reduce; keep the information.[ALT: …] as a placeholder.Level in brackets. New in 2.2 marked. Full text: Understanding WCAG 2.2.
alt=""; icon-only buttons have an accessible name; SVG icons aria-hidden="true" next to a label.header, nav, main once, footer, aside), one h1, no skipped heading levels, lists as lists, data tables with <th scope> and <caption>, no layout tables, form fields grouped with fieldset/legend.order/grid placement that reorders reading.autocomplete on personal data fields (name, email, tel, street-address, postal-code, current-password, one-time-code).rem, no fixed heights on text containers.prefers-reduced-motion.<main> as the first focusable element, visible on focus.<title>, page name first.scroll-padding-top for sticky headers. AAA options 2.4.12 (not obscured at all) and 2.4.13 Focus appearance (≥ 2 px perimeter, 3:1 between focused and unfocused states).<html lang="de"> (or the page language); 3.1.2 (AA) lang on passages in another language.aria-describedby, field marked aria-invalid="true", focus moved to the first error or an error summary; say how to fix it.<label for> on every field; placeholder is not a label; required fields marked in text, format hints before the field.aria-expanded, aria-pressed, aria-current="page"); state changes update.role="status" or aria-live="polite" without moving focus.From this skill's folder:
node scripts/contrast.mjs --brand <brand.md> --suggest (or no flags inside a project with website-builder/brand.md). Every text role on every surface role, accents at 3:1. Single pairs, translucent overlays and AAA: scripts/README.md. Then measure real combinations on the page (text over images at the worst spot, hover and disabled states, focus rings).npx @axe-core/[email protected] <url> --tags wcag2a,wcag2aa,wcag21a,wcag21aa,wcag22aa,best-practice --exit --save <date>-<page>-axe.json --dir website-builder/reports
It drives Chrome through ChromeDriver; if the versions don't match, install a matching driver (npx browser-driver-manager install chrome) or pass --chromedriver-path. Alternative: npx [email protected] <url> --only-categories=accessibility --output=json --output-path=website-builder/reports/<date>-<page>-lighthouse.json. Scan every template and important state (menu open, form with errors, dialog open), at 390 and 1440 px.node <site-verify>/scripts/render-check.mjs <url> --reduced-motion measures reflow (the default widths start at 320 px, the 1.4.10 minimum), rendered text contrast (background from the browser, text over images reported as manual), gradient text, motion that ignores reduced motion, missing alt and names, targets below 24 px and zoom lock, with screenshots. Run it once without --reduced-motion too. It complements the axe scan; it does not replace the manual checks.Save the report as website-builder/reports/<YYYY-MM-DD>-<page>-a11y.md in the data folder (create website-builder/reports/ if missing). Contents: URL and widths tested, tool versions, contrast matrix output, scan summary with each violation (rule, element, criterion, fix), manual checks with pass/fail and notes, open issues with owner. Raw scan JSON next to it.
agents/openai.yaml (opens in a new tab)scripts/README.md (opens in a new tab)scripts/contrast.mjs (opens in a new tab)scripts/test/fixtures/brand-aaa.md (opens in a new tab)scripts/test/fixtures/brand-noroles.md (opens in a new tab)scripts/test/fixtures/brand.md (opens in a new tab)scripts/test/fixtures/none/website-builder/brand.md (opens in a new tab)scripts/test/fixtures/none/website-builder/setup.md (opens in a new tab)scripts/test/fixtures/project/website-builder/brand.md (opens in a new tab)scripts/test/run.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
wcag, a11y, accessibility-audit, screen-reader, keyboard-navigation
Other plugins' skills for the same job
16 skills in this plugin
/site-acssApply the toolkit rules in projects that use Automatic.css (ACSS): map spacing, color, type, layout and motion to real ACSS tokens and utilities, never invent token names, use bg-- utilities for contextual color, grid-first mobile-first layout. Use whenever a project loads Automatic.css, in any builder./site-auditFind what makes a page, screen, carousel or text read as AI-generated or off-brand: run slop-lint, then walk the tell list on the rendered result and list every finding with where it lives. Use when reviewing agent-built UI or copy, before redesigning, when asked to unslop or de-slop, or when something looks generic, templated or vibe-coded. Triggers on purple gradients, gradient text, glows, emoji icons, sparkles, pill badges, centered heroes, three-card grids, greeting headlines, hype words, fake proof./site-npx claudepluginhub tobiashaas/website-builder-toolkit --plugin website-builder-toolkit