web-design-guidelines
UI/UX best practices and accessibility audit. Use when reviewing UI code, checking accessibility, running accessibility audits, auditing forms, or ensuring…

Установить web-design-guidelines в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Web Design Guidelines
WCAG accessibility, semantic HTML, keyboard navigation, forms, and performance patterns for inclusive web interfaces. Contains 24 rules across 4 categories. Supports both coding reference and audit mode.
Metadata
- Version: 2.2.0
- Rule Count: 24 rules across 4 categories
- License: MIT
How to Audit
When the user asks to "audit accessibility", "check WCAG compliance", or "review accessibility" — run the checklist below against their codebase.
Step 1: Determine Scope
- If arguments provided (
$ARGUMENTS): audit only those files or components - If no arguments: audit all UI components and pages in the codebase
Step 2: Detect Stack
Check the project for:
.tsx/.jsxfiles → React.vuefiles → Vue.blade.phpfiles → Laravel Blade.htmlfiles → Static HTML
Step 3: Run Accessibility Checklist
Work through every item below. For each, output:
- PASS — brief confirmation of what was verified
- FAIL — exact
file:line, description of the issue, and fix recommendation - N/A — if the check does not apply to this project
Semantic HTML & Structure
- Pages use semantic elements (
<header>,<main>,<nav>,<footer>,<article>,<section>) — not<div>soup - Heading hierarchy is sequential (
h1→h2→h3) — no skipped levels - One
<h1>per page - Skip link exists to bypass navigation (
<a href="#main-content">Skip to content</a>) - Landmark regions are labelled when duplicated (
aria-labelon multiple<nav>elements)
Keyboard Navigation
- All interactive elements are reachable via Tab key
- Focus order follows visual order (no positive
tabindexvalues) - Focus indicator is visible on all focusable elements (not removed with
outline: nonewithout replacement) - Modal dialogs trap focus and return focus on close
- Custom components (dropdowns, tabs, accordions) support expected keyboard patterns (Arrow keys, Escape, Enter)
- Focused elements are not fully hidden by sticky headers, banners, or overlays (WCAG 2.2 SC 2.4.11)
Pointer & Touch (WCAG 2.2)
- Pointer targets are at least 24x24 CSS px or spaced so 24px circles do not overlap (SC 2.5.8)
- Every drag action has a single-pointer alternative, such as buttons or a menu (SC 2.5.7)
Images & Media
- All
<img>elements havealtattributes — descriptive for content images, empty (alt="") for decorative - Complex images (charts, diagrams) have extended descriptions
- Video content has captions or transcripts
Color & Contrast
- Text meets WCAG AA contrast ratio (4.5:1 for normal text, 3:1 for large text)
- Information is not conveyed by color alone (e.g., error states use icons + text, not just red)
- UI components and focus indicators meet 3:1 contrast ratio against background
Forms
- Every input has an associated
<label>(not just placeholder text) - Required fields indicated with both visual cue and
aria-required="true" - Error messages linked to inputs via
aria-describedby - Error messages use
role="alert"oraria-live="assertive"for screen reader announcement - Correct
typeattributes on inputs (email,tel,url,number) -
autocompleteattributes present on common fields (name, email, address, credit card) - Data already entered in the same process is auto-filled or selectable, not asked again (SC 3.3.7)
- Sign-in allows paste and password managers; no memory or puzzle test without an alternative (SC 3.3.8)
- Help links or contact details repeated across pages stay in the same relative order (SC 3.2.6)
ARIA & Screen Readers
- ARIA labels on icon-only buttons (
aria-label="Close") - Dynamic content updates use
aria-liveregions - Loading states announced to screen readers (
aria-busy="true", status messages) - Decorative elements hidden from screen readers (
aria-hidden="true")
Motion & Animation
-
prefers-reduced-motionrespected — animations disabled or reduced - No auto-playing video or audio without user control
- No content that flashes more than 3 times per second
Step 4: Summary
End the audit with:
## Accessibility Audit Summary
- **PASS**: X checks
- **FAIL**: X checks
- **N/A**: X checks
- **WCAG Level**: AA / Partial AA / Below AA
- **Top Priority Fixes**: (list the 3 most impactful FAIL items)
When to Apply
Reference these guidelines when:
- Running an accessibility audit on a codebase
- Reviewing UI code for accessibility (WCAG compliance)
- Implementing forms and interactions
- Ensuring keyboard navigation works
- Adding ARIA labels and live regions
- Optimizing image loading and layout stability
Rule Categories by Priority
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Accessibility | CRITICAL | a11y- |
| 2 | Forms | HIGH | form- |
| 3 | Anima |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- AGENTS.md
- README.md
- metadata.json
- rules/_sections.md
- rules/_template.md
- rules/a11y-alt-text.md
- rules/a11y-aria-labels.md
- rules/a11y-color-contrast.md
- rules/a11y-error-messages.md
- rules/a11y-focus-management.md
- rules/a11y-form-labels.md
- rules/a11y-heading-hierarchy.md
- rules/a11y-keyboard-nav.md
- rules/a11y-live-regions.md
- rules/a11y-screen-reader.md
- rules/a11y-semantic-html.md
- rules/a11y-skip-links.md
- rules/a11y-wcag22-criteria.md
- rules/form-autocomplete.md
- rules/form-error-display.md
- rules/form-inline-validation.md
- rules/form-input-types.md
- rules/form-multi-step.md
- rules/form-placeholder-usage.md
- rules/form-submit-feedback.md
- rules/form-validation-ux.md
- rules/motion-reduced.md
- rules/perf-image-loading.md
- rules/perf-layout-stability.md
FAQ
Что делает скилл web-design-guidelines?
UI/UX best practices and accessibility audit. Use when reviewing UI code, checking accessibility, running accessibility audits, auditing forms, or ensuring web interface best practices. Triggers on "audit accessibility", "check WCAG", "review UI", "check accessibility", "audit design", "review UX", or "check best practices".
Как установить скилл web-design-guidelines?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл web-design-guidelines запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
