Enforces a WCAG 2.2 AA accessibility baseline for any UI built or restyled: contrast ratios, visible focus, 24x24 target size, reduced motion, semantic HTML, text alternatives, and color-independent communication. Includes a pass/fail checklist and code patterns.
Ships in design-taste. 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.
Distinctive design is optional; accessible design is not. Apply this baseline to every screen, whatever the visual direction.
This skill covers the checks that most often break when agents restyle UI. It targets WCAG 2.2 Level AA, a widely used target in accessibility policies. It is a baseline, not a full conformance audit: automated and checklist review do not replace testing with assistive technology and with disabled users.
Native elements bring keyboard support, focus, and roles for free.
<!-- Before -->
<div class="btn" onclick="save()">Save</div>
<!-- After -->
<button type="button" onclick="save()">Save draft</button>
<a href>); buttons act (<button>)<h1> per page and headings in order; use <main>, <nav>, <header>, <footer> landmarks<label> (visible, associated with for/id or by wrapping)| What | Ratio | WCAG 2.2 |
|---|---|---|
| Normal text | 4.5:1 | 1.4.3 Contrast (Minimum), AA |
| Large text: at least 18pt, or 14pt bold (about 24px / 18.5px) | 3:1 | 1.4.3, AA |
| UI component boundaries and states, meaningful graphics, focus indicators | 3:1 against adjacent colors | 1.4.11 Non-text Contrast, AA |
| Enhanced (optional) | 7:1 / 4.5:1 large | 1.4.6, AAA |
W3C states ratios are not rounded: 4.499:1 fails 4.5:1. Logos and purely decorative text are exempt. Check text over images or gradients at the lowest-contrast point.
/* Never remove focus without replacing it */
:focus-visible {
outline: 3px solid var(--color-focus);
outline-offset: 2px;
}
outline: none without a replacement failsscroll-padding-top for sticky headers:focus-visible is Baseline widely available and shows the ring for keyboard users without showing it on every mouse clickhtml { scroll-padding-top: 5rem; } /* height of the sticky header */
2.5.8 Target Size (Minimum) (AA, new in 2.2): pointer targets at least 24 by 24 CSS pixels, unless an exception applies — enough spacing (a 24px circle centered on each target doesn't overlap another), an equivalent larger control on the page, inline links in text, user-agent default controls, or essential presentation. 2.5.5 (AAA) asks for 44 by 44.
.icon-button {
min-width: 44px; /* exceeds the 24px AA minimum; matches the AAA size */
min-height: 44px;
display: inline-grid;
place-items: center;
}
prefers-reduced-motion: reduce indicates the user asked to minimize non-essential motion (Baseline widely available)@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}
The blanket rule is a safety net. Better: design the reduced version deliberately (crossfade instead of slide, no parallax) so meaning conveyed by motion is not lost.
1.4.1 Use of Color (A): color cannot be the only way to convey information, indicate an action, or distinguish an element.
<!-- Before: red border is the only error signal -->
<input class="border-red">
<!-- After -->
<label for="email">Email</label>
<input id="email" type="email" aria-invalid="true" aria-describedby="email-err">
<p id="email-err" class="error">Enter an email address like [email protected]</p>
Links inside body text should be distinguishable by more than color (underline is the simplest choice).
1.1.1 Non-text Content (A):
alt describes the information, not the file ("Invoice total 336 EUR, due 30 November")alt="" so screen readers skip itaria-label, or visually hidden textmaximum-scale=1 or user-scalable=no in the viewport meta| Check | How |
|---|---|
| Keyboard | Tab through the whole page: every control reachable, order logical, focus always visible, no traps |
| Contrast | Contrast checker on every text/background and component pair, both themes |
| Zoom/reflow | 400% zoom at 1280px width; 320px viewport |
| Motion | Turn on the OS reduced-motion setting and reload |
| Screen reader | Spot-check headings, landmarks, form labels, and buttons with VoiceOver or NVDA |
| Automated | Run an automated checker; treat it as a floor (it finds only some issues) |
prefers-reduced-motion: https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion:focus-visible: https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visibleWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
a11y, wcag, contrast, focus-ring, keyboard-navigation, semantic-html
Other plugins' skills for the same job
/design-taste:accessible-by-defaultfrom design-taste
npx claudepluginhub latestaiagents/agent-skills --plugin design-taste5 skills in this plugin
/specific-copyWrite interface and marketing copy that is concrete and verifiable instead of sloganeering — headlines that say what the product does, claims backed by sources, button labels that name the action, and useful empty and error states.
Use this skill when writing or reviewing landing page copy, headlines, CTAs, onboarding text, empty states, error messages, or when copy sounds like every other product.
Activate when: UX writing, microcopy, landing page copy, headline, call to action, button label, empty state, error message, marketing copy, generic copy, sloganeering.
/typography-and-color-systemsBuild a small, deliberate typography and color system — type scale, font pairing, line length, numeric styles, semantic color tokens, contrast-checked palettes, and dark mode — instead of inheriting framework defaults.
Use this skill when setting up a design system, choosing fonts or palettes, adding dark mode, or fixing text that is hard to read or colors that fail contrast.
Activate when: type scale, font pairing, typography system, color palette, design tokens, dark mode, contrast ratio, color system, line length, readable text.
/ui-template-auditAudit an existing UI, landing page, or screenshot for "template defaults" — the patterns that make interfaces read as generic or machine-generated — and produce a scored report with specific fixes.
Use this skill when reviewing a page that "looks like every other AI-built site", before shipping a landing page, or when asked to make a design feel less generic.
Activate when: generic UI, looks AI-generated, template look, design review, landing page critique, make it less generic, design audit, AI slop design.
/visual-directionEstablish a distinctive visual direction for a product or page from its subject matter, audience, and content — before writing CSS. Produces a short direction statement, explicit constraints, and a starter set of design tokens.
Use this skill when starting a new site or app UI, redesigning something that feels generic, or when an agent is about to reach for a default UI kit look.
Activate when: visual direction, art direction, design direction, brand look, moodboard, design tokens from brand, make it distinctive, choose an aesthetic.
2 plugins in one repository ship this exact skill · first indexed Nov 5, 2026