/polymath-design:a11y-auditfrom polymath-design
Audit a UI against WCAG 2.2 AA — perceivable, operable, understandable, robust; cite SC numbers + element selectors per finding.
Ships in polymath-design. 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.
None: SKILL.md is the whole skill.
One audit pass on a UI surface against WCAG 2.2 AA. Findings cite the SC number, element selector, and a concrete remediation.
Mode: analytical — judgment inside a fixed frame. Keep the output shape; every verdict cites its evidence; unknowns are marked [TBD] or [VERIFY], never filled in.
Walk the four POUR principles. For each, name applicable WCAG 2.2 AA Success Criteria (SC) and check.
alt, aria-label, or aria-labelledby).<button>, <nav>, <main>, headings in order) — not all-<div>.role="status" or aria-live.For each finding cite SC number + element selector + concrete fix. Severity per WCAG: A > AA. AA is the target. Say what you could and couldn't verify from the inputs: keyboard flow, focus order, and screen-reader announcements need a running UI — from a screenshot they are "not verified", not "pass".
A11y audit: <surface>
Critical (SC level A):
- SC 1.1.1 — img.hero on /checkout has no alt. Fix: alt="Order
summary illustration" or alt="" if decorative.
- SC 2.1.1 — button.close (× icon) only handles click; Enter +
Space not bound. Fix: use a <button> element instead
of <div role="button">, or bind keydown.
Important (SC level AA):
- SC 1.4.3 — .price-secondary text is #888 on #FFF (3.5:1).
Below 4.5:1 AA. Fix: change color to #595959 or darker.
- SC 2.5.8 — .delete-icon is 18×18 CSS px on mobile (below 24×24).
Fix: bump touch target to 44×44 with transparent
padding; visual icon can stay 18×18.
Status messages (SC 4.1.3):
- "Saved" toast has no role/aria-live. Screen readers won't
announce it. Fix: role="status".
Tooling note:
Run axe-core in dev for automated coverage of ~50% of these criteria;
axe doesn't catch reflow, focus order, or context-change SCs — those
need this manual pass.
tabindex="0" on <div> instead of <button>. The fix is the element, not the attribute.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub mohammadbafkar/polymath --plugin polymath-design3 skills in this plugin
/design-system-conformanceCheck a UI surface against the project's design system — tokens, components, patterns; flag bespoke values that should be tokens./ui-critiqueCritique a UI surface — hierarchy, density, error/empty/loading states, microcopy; findings keyed to specific elements with concrete corrections.