Accessibility Compliance

作者 wshobson46891e7e60da無授權條款收錄於 2026年10月8日更新於 2026年10月8日

Implement WCAG 2.2 compliant interfaces with mobile accessibility, inclusive design patterns, and assistive technology support. Use when auditing accessibility, implementing ARIA patterns, building for screen readers, or ensuring inclusive user experiences.

AI 產生的概覽

指導實作符合 WCAG 2.2 的無障礙介面、ARIA 模式、鍵盤與螢幕閱讀器支援。

功能
此技能為建置與稽核無障礙使用者介面提供指引。內容涵蓋 WCAG 2.2 AA 與 AAA 合規、語意化 HTML、ARIA 模式、鍵盤導覽、焦點管理、無障礙表單、減少動態效果與高對比偏好,以及行動裝置螢幕閱讀器支援。它也列出常見無障礙問題與測試工具,並指向包含詳細模式的參考檔案。
適用情境
在稽核網站或應用程式的無障礙性、實作 ARIA 模式、加入鍵盤導覽或焦點管理、建置螢幕閱讀器支援,或確保包容性使用者體驗時使用。
執行需求
不需要指令碼或特殊工具,僅為說明性內容。它提及可選的測試工具,例如 axe DevTools、WAVE、Lighthouse、VoiceOver、NVDA、JAWS 和 TalkBack。

Accessibility Compliance

Master accessibility implementation to create inclusive experiences that work for everyone, including users with disabilities.

When to Use This Skill

  • Implementing WCAG 2.2 Level AA or AAA compliance
  • Building screen reader accessible interfaces
  • Adding keyboard navigation to interactive components
  • Implementing focus management and focus trapping
  • Creating accessible forms with proper labeling
  • Supporting reduced motion and high contrast preferences
  • Building mobile accessibility features (iOS VoiceOver, Android TalkBack)
  • Conducting accessibility audits and fixing violations

Detailed patterns and worked examples

Detailed pattern documentation lives in references/details.md. Read that file when the navigation tier above is insufficient.

Best Practices

  1. Use Semantic HTML: Prefer native elements over ARIA when possible
  2. Test with Real Users: Include people with disabilities in user testing
  3. Keyboard First: Design interactions to work without a mouse
  4. Don't Disable Focus Styles: Style them, don't remove them
  5. Provide Text Alternatives: All non-text content needs descriptions
  6. Support Zoom: Content should work at 200% zoom
  7. Announce Changes: Use live regions for dynamic content
  8. Respect Preferences: Honor prefers-reduced-motion and prefers-contrast

Common Issues

  • Missing alt text: Images without descriptions
  • Poor color contrast: Text hard to read against background
  • Keyboard traps: Focus stuck in component
  • Missing labels: Form inputs without associated labels
  • Auto-playing media: Content that plays without user initiation
  • Inaccessible custom controls: Recreating native functionality poorly
  • Missing skip links: No way to bypass repetitive content
  • Focus order issues: Tab order doesn't match visual order

Testing Tools

  • Automated: axe DevTools, WAVE, Lighthouse
  • Manual: VoiceOver (macOS/iOS), NVDA/JAWS (Windows), TalkBack (Android)
  • Simulators: NoCoffee (vision), Silktide (various disabilities)

來源與署名

來源:wshobson/agents位於plugins/ui-design/skills/accessibility-compliance提交46891e7

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架