AGENT SKILL
accessibility
WCAG 2.1 AA compliance and inclusive UI patterns
- License 许可
- MIT
- 最近更新
- 2026-07-20
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- accessibility
- applyTo
- src/presentation/**/*.{ts,tsx}
- description
- WCAG 2.1 AA compliance and inclusive UI patterns
03 SKILL.md 正文
Accessibility Skill (WCAG 2.1 AA)
Purpose
Ensure all UI components meet WCAG 2.1 Level AA standards for users with disabilities, including screen reader users, keyboard-only users, and users with visual impairments.
Core Principles (POUR)
| Principle | Meaning | Examples |
|---|---|---|
| Perceivable | Content is perceivable by all senses | Alt text, contrast, captions |
| Operable | UI is operable by all input methods | Keyboard nav, no time limits |
| Understandable | Content is understandable | Clear language, predictable UI |
| Robust | Works with assistive technologies | Semantic HTML, ARIA |
Checklist
- [ ] All images have alt text (or
alt=""for decorative) - [ ] All form inputs have visible labels
- [ ] Error messages are announced to screen readers
- [ ] Focus order is logical
- [ ] Color contrast meets AA ratios
- [ ] Interactive elements have accessible names
- [ ] Loading states are announced
- [ ] Modal dialogs manage focus correctly
- [ ] Page has proper heading hierarchy (h1 → h2 → h3)
- [ ] Language attribute set on
<html>element
04 同仓库更多 Skills
ui-ux-frontend
Frontend UX, accessibility, responsive layout, and Storybook interaction quality standards.
★ 0
testing-conventions
暂无简介
★ 0
tdd
暂无简介
★ 0
shadcn-ui
shadcn/ui component conventions and composition patterns
★ 0
sdd
暂无简介
★ 0
quality-gate
暂无简介
★ 0