WCAG 2.1/2.2 compliance implementation, ARIA patterns, keyboard navigation, focus management, and accessibility testing. Use when implementing accessible components, fixing accessibility issues, or when the user mentions WCAG, ARIA, screen readers, or keyboard navigation.
Technical implementation of WCAG guidelines, ARIA patterns, and assistive technology support.
| Use this skill when... | Use design-tokens instead when... | |---|---| | Implementing WCAG 2.1/2.2 success criteria in code | Setting up CSS custom properties or theme systems | | Adding ARIA roles, states, or live regions | Defining semantic colour tokens used by themes | | Wiring keyboard navigation, focus traps, or skip links | Organizing primitive/semantic/component token tiers | | Auditing components with axe-core, jest-axe, or Playwright | Implementing light/dark mode token overrides |
| Criterion | Implementation |
|-----------|----------------|
| 1.1.1 Non-text Content | alt for images, labels for inputs |
| 1.3.1 Info and Relationships | Semantic HTML, ARIA relationships |
| 2.1.1 Keyboard | All interactive elements keyboard accessible |
| 2.4.1 Bypass Blocks | Skip links, landmarks |
| 4.1.2 Name, Role, Value | ARIA labels, roles for custom widgets |
| Criterion | Implementation | |-----------|----------------| | 1.4.3 Contrast (Minimum) | 4.5:1 text, 3:1 large text | | 1.4.11 Non-text Contrast | 3:1 for UI components | | 2.4.6 Headings and Labels | Descriptive, hierarchical headings | | 2.4.7 Focus Visible | Visible focus indicator (2px+ outline) |
Use native HTML elements before ARIA. A <button> is better than <div role="button">.
Native elements have built-in accessibility. Don't break it with JavaScript.
Automated tools catch ~30% of issues. Manual testing with assistive technology is essential.
Offer keyboard, mouse, and touch alternatives for all interactions.
For full ARIA widget patterns, keyboard navigation implementations, testing recipes, common fixes, and CSS utilities, see REFERENCE.md.
npx skills add laurigates/accessibility-implementation下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer