taste-accessibility
Skill1 starsChanged 3 months agoMITView on GitHub
Accessibility built into generation, not bolted on after: WCAG 2.2 AA compliance checks (contrast, keyboard, focus, labels, semantics, target size, reduced motion, autocomplete, error handling), baked into every page or component the agent builds. Run before calling any UI done. Stack on the design-taste core skill.
In this repository23 other files it gives its agents.
- brutalist-industrialSkill
- cinematic-motionSkill
- corporate-trustSkill
- dark-techSkill
- design-tasteSkill
- editorial-minimalSkill
- japanese-minimalSkill
- neo-brutalismSkill
- playful-colorSkill
- quiet-luxurySkill
- retro-printSkill
- taste-brand-identitySkill
- taste-code-craftSkill
- taste-code-reviewSkill
- taste-colorSkill
- taste-design-reviewSkill
- taste-design-systemSkill
- taste-gsapSkill
- taste-landing-pageSkill
- taste-motionSkill
- taste-typographySkill
- taste-ux-copySkill
- taste-web-performanceSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 60
No auto-playing media with sound.
- Distinctive: line 67
Read with a screen reader (VoiceOver/NVDA): page title, heading outline, every control labeled, regions announced.
- Very specific: line 70
Check aria-labels don't duplicate visible text unnecessarily.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
taste-accessibility
AI-generated UI is inaccessible by default. This skill makes accessible the default. Every rule below is applied during generation — not as a fix-up pass.
1. SEMANTIC STRUCTURE (The Code Skeleton)
- One
<h1>per page; heading levels never skip (h1 → h3 without h2 = failure); headings carry the page outline — test by reading only headings. - Landmarks:
<header>,<nav>,<main>,<footer>, plus<aside>/<section>with accessible names where meaningful. - Lists for lists (
<ul>for nav, features),<table>only for tabular data with<th scope>headers. - Buttons are
<button>; links are<a href>; both have visible text. Icon-only controls getaria-labelmatching their visible tooltip. - Decorative images:
alt=""(empty). Informative images: alt describing meaning, not appearance ("Chart: conversion fell from 18% to 9% in May" — not "a blue line chart"). aria-hidden="true"+tabindex="-1"on decorative SVG/decor; neveraria-hiddenon focusable elements.
2. KEYBOARD COMPLETE (Nothing Requires a Mouse or Touch)
- Everything reachable: tab order follows visual order; no element focusable that isn't interactive (
tabindex="0"only on purpose). - Focus visible everywhere: 2px ring, 3:1 contrast vs adjacent,
outline-offset≥ 2px. Neveroutline: nonewithout a replacement. - Standard interactions: Enter activates buttons/links; Space toggles; Esc closes dialogs and menus.
- Dialogs/popovers: focus moves into the dialog on open, traps within (or the platform's native pattern), returns to the trigger on close; overlay has
role="dialog"+aria-modal="true"+ labeled. - Skip link: first focusable element on every marketing page ("Skip to content"), visible on focus.
- Custom components (menu, tabs, combobox, slider): implement ARIA patterns correctly (e.g.,
role="tablist"witharia-selected, arrow-key navigation) or use the platform element instead — a native<select>beats a broken custom one.
3. CONTRAST & TARGETS (Exact Numbers, WCAG 2.2)
| Rule | Requirement |
| Normal text | ≥ 4.5:1 |
| Large text (≥24px / ≥18.66px bold) | ≥ 3:1 |
| UI components & focus | ≥ 3:1 vs adjacent |
| Pointer target size | ≥ 24×24px (AA 2.2), ≥ 44×44px recommended & for touch |
| Spacing exception | 24px targets with ≥ 24px gaps to neighbors pass |
- Placeholder-only labels fail (4.1.2): every input needs a programmatically associated label (
<label for>oraria-labelledby). - Error states: never color-only — text message + icon; errors announced (
aria-live="assertive"region); error messages identify the field and give the fix, not "invalid". - Focus indicators on dark and light surfaces both; check focused state against ITS background, not page background.
4. FORMS (Generation Checklist)
- Correct
typeper input (email,tel,password,number,search) + correctautocompletetokens (email,name,credit-card-number, etc.). required+aria-required; validation on:user-invalidstyling (not just :invalid — don't punish pre-submit), with visible messages.- One column layout for anything ≥ 4 fields; labels above inputs; hint text associated (
aria-describedby) not detached. - Multi-step wizards: progress announced, errors summarize at top, back/next keyboard-safe.
5. MOTION & COGNITION
- Everything under
prefers-reduced-motion(see taste-motion §7): no parallax, no carousel autoplay, no marquees. - No auto-playing media with sound; carousels pause on hover/focus; content doesn't move faster than the eye can read it.
- Timeouts (sessions, auto-advance): ≥ 20s warning or user control (WCAG 2.2.1).
- Plain language; expand abbreviations at first use; no emoji-only communication.
6. TESTING (Run These Checks Before Done)
- Keyboard walk: Tab through the entire page — focus visible at every stop, order sane, nothing trapped.
- Read with a screen reader (VoiceOver/NVDA): page title, heading outline, every control labeled, regions announced.
- Contrast: sample every text/background pair used (at least: headings, body, muted, button text, placeholder, borders of inputs).
- Resize: at 200% zoom (up to 1280px wide), no horizontal scroll, no text clipping.
- Check
aria-labels don't duplicate visible text unnecessarily; check no empty buttons/links exist. - Dark/light variants both pass (never assume one does).
7. CHECKLIST (Fail the Page If…)
- Any heading level skipped.
- Any input without an associated label.
- Any interactive element unreachable by keyboard.
- Any focus indicator invisible or
outline: nonewithout replacement. - Any text pair below 4.5:1 (3:1 for large) that isn't a deliberate, documented exception.
- Any error communicated by color alone.
- No
prefers-reduced-motionhandling. - Touch targets under 24px with less than 24px spacing.
Accessibility is not a feature. It is the interface working. Ship nothing that fails this checklist.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

