/design-engine:accessibility-wcag-2-2-compliancefrom design-engine
Operationalizes WCAG 2.2 AA compliance into a build-then-audit workflow for interactive UI components. Covers keyboard/focus behavior, ARIA, accessible names, screen readers, target size, reflow, authentication, and reduced motion.
Ships in design-engine. 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.
This skill operationalizes the engine's accessibility floor into a repeatable
build-then-audit workflow. It does not restate the criteria — the canonical,
versioned list of success criteria (the 9 new in 2.2, the perennial AA checklist, the
contrast method note, the testing note) lives in
doctrine/references/wcag-2.2-criteria.md.
Read that file first; this skill tells you how to apply it to real components.
AA is the floor for all Chwezi work; reach AAA where feasible (per the doctrine).
Accessibility is not a colour concern or a final pass — it is a cross-cutting constraint
that co-activates with every group and is enforced one last time by
design-qa-and-pre-launch-review.
02-color-brand-and-visual-identity/accessible-color-and-contrast (this skill cites it
for 1.4.3/1.4.11 but does not own palette construction).performance-as-ux-and-core-web-vitals.10-content-design-and-ux-writing/error-empty-and-system-messaging
(this skill checks that errors are programmatically associated, not how they are phrased).design-qa-and-pre-launch-review (it calls this skill in).| Artefact or context | Source | Required? | Why |
|---|---|---|---|
| Interactive component or flow | User or project | yes | Defines applicable criteria and interactions |
| Rendered semantics and target platforms | Build | required for audit | Enables keyboard and assistive-technology checks |
| Conformance target | Product or compliance owner | yes | Defaults to WCAG 2.2 AA |
Choose the build or audit branch, then record evidence for every applicable requirement.
<div>. Map the component to a known
accessible pattern (WAI-ARIA Authoring Practices) before writing markup. Prefer native
elements (<button>, <a href>, <dialog>, <input>, <details>) — they ship focus,
role, and keyboard behaviour for free. Only reach for ARIA when no native element fits.
See references/aria-patterns.md.aria-label, or aria-labelledby), a correct role, and live state
(aria-expanded, aria-selected, aria-checked, aria-pressed, aria-current,
aria-disabled, aria-invalid). The first rule of ARIA: don't use ARIA if a native
element does it. See references/aria-patterns.md.references/keyboard-and-focus.md.aria-activedescendant — one tab stop for the whole widget, arrows move inside.
See references/keyboard-and-focus.md.outline: none without a
replacement. Provide a focus indicator with ≥ 3:1 contrast against adjacent colours
(use :focus-visible). Ensure sticky headers/footers do not obscure the focused
element (2.4.11) — scroll-pad with scroll-margin/scroll-padding. See
references/keyboard-and-focus.md.aria-live region; don't steal focus for non-critical updates.<label>; errors are tied to fields via aria-describedby
and flagged with aria-invalid; required fields are marked in name + state. Do not
re-ask for information already given in the same process (3.3.7) — autofill, prefill, or
offer "same as above".prefers-reduced-motion as a house floor and report it as SC 2.3.3
(AAA), not as an AA item. Captions/transcripts for media.accessible-color-and-contrast; this
skill only verifies the result. See wcag-2.2-criteria.md §contrast method note.wcag-2.2-criteria.md §testing) — never stop here.references/keyboard-and-focus.md.references/aria-patterns.md.examples/wcag-2.2-audit-sheet.md as the template.
A Fail on any AA criterion blocks ship.| Condition | Action | Wrong-choice failure |
|---|---|---|
| New component or flow | Design native semantics, keyboard behaviour, focus, and names before visual polish | Accessibility becomes an expensive retrofit |
| Existing interactive build | Run automated checks plus keyboard and screen-reader testing | Tool-only coverage misses interaction failures |
| Any applicable WCAG 2.2 AA criterion fails | Record evidence and block the release gate | A known barrier ships under a misleading pass label |
| Legal certification or formal conformance claim is requested | Produce technical evidence and require qualified human/legal sign-off | The skill overstates authority it does not hold |
| Evidence is designs, specs or screenshots only | Label findings HEURISTIC ("likely fails", "risk"); list the measured tests still owed as NOT_ASSESSED | A design review is reported as conformance and the client ships an untested barrier |
| Contrast was tuned with APCA | Certify with the WCAG 2.2 ratios; APCA is a design aid, not a W3C method or part of the current WCAG 3.0 draft | A conformance claim rests on a non-normative metric |
Read and interactive inspection are required for an audit. Browser or device access and at least one automated checker are preferred; keyboard and screen-reader checks remain mandatory for a release verdict. Editing is allowed only when remediation is requested.
Without an interactive build, return design/spec risks and test cases, not a WCAG conformance verdict. Without a screen reader or target device, mark those checks unverified and block any claim that the experience passes the full gate.
outline: none with no replacement — the single most common keyboard-a11y failure.<div onclick> as a button — no role, no name, no keyboard, no focus. Use <button>.role="button" on a <div> instead of a <button>; redundant or
conflicting ARIA. First rule of ARIA: don't use ARIA.<button>🗑</button> announces nothing.aria-live spam — announcing every keystroke; use polite, scoped regions.| Artefact | Consumer | Evidence and acceptance condition |
|---|---|---|
| Accessible component or flow specification | Design and engineering | Native semantics, keyboard, focus, names, states, and alternatives are defined |
| WCAG 2.2 audit sheet | Pre-launch review | Each applicable criterion has Pass/Fail/N/A, evidence, and a fix; any AA failure blocks |
design-qa-and-pre-launch-review as the a11y gate.examples/wcag-2.2-audit-sheet.md — a filled audit of a sample "Edit profile" modal
dialog (with a form inside), showing Pass/Fail/N/A and the fix per criterion, including the
9 new 2.2 criteria. Use it as the template for any audit.doctrine/design-doctrine.md — the cross-cutting
charter; §3 places this skill in 00-cross-cutting-ops-qa-a11y (co-activates with every group).doctrine/references/wcag-2.2-criteria.md
— the canonical source of the criteria (the 9 new in 2.2, the perennial AA checklist, the
contrast method note, the testing note). This skill operationalizes it; it does not duplicate it.references/aria-patterns.md — accessible component patterns: native-first, name/role/value,
and a per-pattern recipe (dialog, menu, tabs, combobox, accordion, table, live regions).references/keyboard-and-focus.md — keyboard interaction maps, focus order, roving tabindex,
focus management, visible/unobscured focus, and the manual keyboard-audit checklist.references/native-control-sufficiency.md — what native date, colour, file, dialog, details and
popover controls give, where they fall short, and the evidence required before a custom control
replaces one (native-first is the default, not a universal rule).00-cross-cutting-ops-qa-a11y/design-qa-and-pre-launch-review (final gate) and
02-color-brand-and-visual-identity/accessible-color-and-contrast (palette/contrast).../../../docs/kaizen/phase-1-task-mobile-accessibility-evidence-pack.md for the
task, mobile, state, manual-assistive-technology, and NOT_ASSESSED handoff record.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub peterbamuhigire/chwezi-design-engine --plugin design-engine110 skills in this plugin
/accessible-color-and-contrastUse when verifying or fixing text, UI, focus, border, status, or data colours for contrast and colour-vision accessibility. Unlike color-system-and-palette, this is the focused WCAG/APCA and non-colour-cue gate, not palette creation./advertising-creative-art-directionUse when art-directing advertising or campaign creative - copy and image relationships, poster and cover tests, triplet or cousin campaign systems, big-idea tests across channels, a 7-point effectiveness screen, critique and ad layout specs handed back to the marketing engine. Use art-direction-routes for brand or website directions./ai-agent-uxOther plugins' skills for the same job