kmaruthi2002/universal-llm-skills/accessible-design
Claude Code and agent skill by kmaruthi2002/universal-llm-skills
- community
Checking that the SKILL.md file is still in the repository.
Design products that people with disabilities can use from the first sketch, not after an audit: color and contrast, text size and spacing, visible focus, target sizes, keyboard and screen-reader-friendly structure and semantics, headings and landmarks, accessible names, forms and error messaging, alt text and image descriptions, captions and transcripts, motion and flashing, cognitive accessibility and plain language, and inclusive representation and language. Grounded in WCAG 2.2 and platform guidance. Use when designing or building any UI, document, or media and you want it accessible, inclusive, ADA/EAA/Section 508 ready, screen-reader or keyboard friendly, or "usable by everyone". To evaluate an existing product for conformance use accessibility-audit instead.
Install
npx vskill@latest install kmaruthi2002/universal-llm-skills/accessible-designSKILL.md
The same SKILL.md was published earlier as kmaruthi2002/universal-llm-skills/accessible-design.
Accessible Design
Accessible design means people with a wide range of abilities — visual, auditory, motor, cognitive, speech, and temporary or situational limitations — can perceive, understand, navigate and operate what you make. It is cheapest and most effective when built in from the start: retrofitting accessibility into a finished design is slower, more expensive and usually produces worse results than designing it in.
This skill is for making accessible things. It complements accessibility-audit, which is for evaluating an existing product against standards. Visual specifics (visual-design), layout (layout-and-responsive-design), behaviour (interaction-design) and motion (motion-design) each carry accessibility guidance too; this skill brings it together and adds what they do not cover.
Why it matters
- Scale: the WHO estimates about 1.3 billion people — roughly 1 in 6 — experience significant disability. Many more have temporary (broken arm) or situational (bright sunlight, holding a baby, noisy room) limitations, and ageing populations increase low vision, hearing loss and motor limitations.
- Law: many jurisdictions require accessibility, typically by reference to WCAG: e.g. the European Accessibility Act (applies to many products and services from June 2025, via EN 301 549), the ADA in the US (courts and DOJ rules reference WCAG; DOJ's 2024 Title II rule adopts WCAG 2.1 AA for state and local government), Section 508 for US federal ICT, the UK Equality Act and public sector regulations, AODA in Ontario. Obligations vary — identify which apply; this skill is not legal advice.
- Quality: accessible design is usually better design for everyone: clearer structure, better contrast, larger targets, plainer language, captions in noisy places, keyboard efficiency.
Standards to anchor on
- WCAG 2.2 (W3C, 2023) is the current widely referenced standard, organised under four principles — Perceivable, Operable, Understandable, Robust — with success criteria at levels A, AA and AAA. Level AA is the common legal and contractual target. WCAG 2.2 is backward compatible with 2.1 and 2.0, adding criteria such as Focus Not Obscured (2.4.11), Dragging Movements (2.5.7), Target Size Minimum (2.5.8), Consistent Help (3.2.6), Redundant Entry (3.3.7) and Accessible Authentication (3.3.8); it removed 4.1.1 Parsing.
- Platform guidance: Apple Human Interface Guidelines (accessibility), Android/Material accessibility guidance, Microsoft inclusive design and Fluent guidance.
- WAI-ARIA Authoring Practices Guide (APG): keyboard and semantics patterns for custom widgets.
- WCAG 3 is in development and not yet a standard; do not cite it for conformance.
Always confirm the target the project has committed to (often "WCAG 2.2 AA" or "2.1 AA"); design to at least that, and go beyond where cheap.
Core principles
- Design for the range, not the average. Consider the persona spectrum (Microsoft Inclusive Design): permanent, temporary and situational versions of each limitation. A solution for one-handed use by an amputee also helps a parent holding a child and a commuter holding a rail.
- Multiple ways to perceive. Do not depend on any single sense: color plus text or shape; audio plus captions; visual layout plus semantic structure.
- Structure is the interface for many users. Screen-reader, voice-control and keyboard users navigate by headings, landmarks, labels and focus order. If the structure is wrong, the visual design is irrelevant to them.
- Native first. Platform-native controls come with keyboard support, semantics and assistive-technology integration that custom controls must laboriously recreate. "No ARIA is better than bad ARIA" (the first rule of ARIA use: if a native element exists, use it).
- User settings win. Respect zoom, text size, color schemes, contrast modes, reduced motion and assistive technology. Never fight them.
- Nothing about us without us. Include disabled people in research and testing (see
ux-research,usability-evaluation). Checklists catch defects; people reveal whether the experience actually works.
Discovering context
- Commitment and obligations: which standard and level; which jurisdictions; contractual requirements (procurement often asks for an Accessibility Conformance Report based on the VPAT template).
- Existing system support: do the design-system components already handle focus, semantics and contrast? Which are known-problematic? (See
design-systems.) - Known issues: previous audit reports, user complaints, assistive-tech bug lists.
- Audience specifics: older users, users with cognitive disabilities, low-literacy users, deaf communities (sign language needs), users in low-bandwidth or low-end-device conditions.
- Platforms and assistive technologies to support: e.g. screen readers (VoiceOver on macOS/iOS, TalkBack on Android, NVDA and JAWS on Windows, Narrator), voice control, switch access, screen magnifiers, Windows high-contrast/forced colors.
Design areas
Color and contrast
| Requirement | Minimum (WCAG 2.2) | Criterion | |
|---|---|---|---|
| Normal text | 4.5:1 | 1.4.3 (AA) | |
| Large text (≥24 px, or ≥18.66 px bold) | 3:1 | 1.4.3 (AA) | |
| Enhanced text | 7:1 normal / 4.5:1 large | 1.4.6 (AAA) | |
| UI component boundaries and states, graphical objects needed to understand content | 3:1 against adjacent colors | 1.4.11 (AA) | |
| Information not by color alone | Color is never the sole visual means | 1.4.1 (A) |
Design practice:
- Check contrast for every state (default, hover, focus, active, disabled is exempt but should still be distinguishable), every theme (light, dark, high-contrast), and text on images or gradients at the worst point.
- Pair status colors with icons and text. Links in body text need an underline or other non-color cue unless they reach 3:1 contrast against surrounding text and gain a cue on hover/focus.
- Charts: use direct labels, patterns or shapes, and color palettes distinguishable under common color vision deficiencies (see
data-visualization). - Support forced-colors / high-contrast modes: boundaries should not rely only on background color or box-shadow.
Text and readability
- Body text sized for comfortable reading on the target devices (16 CSS px is a common web floor); relative units so user settings apply.
- Resize to 200% without loss of content or function (1.4.4) and reflow at 320 CSS px width / 400% zoom (1.4.10).
- Text spacing overrides (1.4.12): line height 1.5×, paragraph spacing 2×, letter spacing 0.12×, word spacing 0.16× must not break layout — avoid fixed-height text boxes.
- Line length about 45–75 characters, line height about 1.5 for body, left/start-aligned, not justified (1.4.8 AAA guidance) — see
visual-design. - Avoid images of text (1.4.5) except logos.
- Avoid long passages in all caps, italics or very light weights.
Focus visibility and keyboard
- Every interactive element is reachable and operable by keyboard (2.1.1) with no traps (2.1.2).
- Focus order follows a logical reading sequence (2.4.3); visual reordering must not scramble it.
- Focus indicator visible (2.4.7, AA). Design it deliberately, do not leave it to defaults that may be invisible on your colors. A robust indicator has at least 3:1 contrast against adjacent colors (1.4.11) and a substantial area; WCAG 2.4.13 Focus Appearance (AAA) describes a strong target: an area at least as large as a 2 CSS px perimeter around the component, with at least 3:1 change in contrast between focused and unfocused states.
- Focus not obscured (2.4.11, AA): sticky headers, footers, cookie banners and chat widgets must not completely hide the focused element.
- Provide skip links or landmark navigation to bypass repeated blocks (2.4.1).
- Design keyboard interactions for custom widgets following APG patterns (arrow keys within menus, tabs, grids; Escape to close; Enter/Space to activate).
- Manage focus on dynamic changes: move focus into dialogs and return it to the trigger on close; after deletion, move focus to a sensible neighbour; after route change in single-page apps, move focus to the new content or heading.
Target size and motor access
- WCAG 2.5.8 (AA): targets at least 24×24 CSS px, or spaced so a 24 px circle on each does not overlap others (with exceptions for inline text links and others).
- WCAG 2.5.5 (AAA) and platform guidance: 44×44 CSS px (WCAG AAA), 44×44 pt (Apple), 48×48 dp (Material). Use these for touch-first and primary actions.
- Pointer gestures (2.5.1): multi-point or path-based gestures need a single-pointer alternative (buttons for pinch-zoom, swipe).
- Dragging (2.5.7, AA): provide a non-drag alternative (move buttons, menus, keyboard reorder).
- Pointer cancellation (2.5.2): trigger on release so accidental presses can be aborted.
- Motion actuation (2.5.4): shake or tilt features need a UI alternative and a way to disable.
- Timeouts (2.2.1): warn before session expiry and allow extension; avoid time limits where possible.
Semantics and structure
Design documents should specify structure, not just appearance, so engineers can implement it:
- Headings: one clear page title, then a logical hierarchy (do not skip levels for visual size; style is separate from level). Screen-reader users commonly navigate by headings.
- Landmarks / regions: header, navigation, main, complementary, footer, search, and named regions for major areas.
- Lists, tables and forms marked as such; data tables with proper header cells; no layout tables.
- Accessible names for every interactive element: visible label where possible; for icon-only buttons, a name describing the action ("Close dialog", "Search"). Visible label text should be contained in the accessible name (2.5.3 Label in Name) so voice-control users can say what they see.
- Roles, states and properties (4.1.2): toggles expose pressed/checked, disclosures expose expanded/collapsed, current page in navigation is exposed.
- Status messages (4.1.3): toasts, inline save confirmations and result counts are announced without moving focus (live regions or platform equivalents).
- Page titles (2.4.2) that describe the page and update in single-page apps.
- Language of the page and of passages in other languages declared (3.1.1, 3.1.2) so screen readers pronounce correctly.
A practical method: annotate designs with heading levels, landmarks, reading/focus order, accessible names for non-text controls, and dynamic announcements. Many teams use an annotation kit in their design tool; the content matters more than the tool.
Forms
- Visible, persistent labels (not placeholders as labels); programmatic association.
- Instructions before the field, not only after an error (3.3.2).
- Required fields indicated in text or symbol explained at the top, not by color alone.
- Errors identified in text, adjacent to the field, specific about how to fix (3.3.1, 3.3.3), associated programmatically, plus a summary on submit with links to fields.
- Error prevention for legal, financial and data-changing submissions: review, confirm or reverse (3.3.4).
- Autocomplete attributes for personal data so browsers and assistive tech can fill them (1.3.5).
- Do not require re-entering information already provided in the same process (3.3.7).
- Authentication without cognitive tests (3.3.8): allow password managers and paste, offer alternatives to puzzles; CAPTCHAs need accessible alternatives.
- Group related controls (radio groups, address blocks) with a group label.
See interaction-design for validation timing and ux-writing for message wording.
Images and alt text
Decide by the image's purpose in context (the W3C alt decision tree is a good reference):
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/accessible-design/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/kmaruthi2002/universal-llm-skills/accessible-design)