frontend-accessibility
Implement accessible user interfaces with semantic HTML, keyboard navigation, sufficient color contrast, screen reader support, ARIA attributes, and proper focus management. Use this skill when creating or editing React components (.tsx, .jsx files), when implementing forms with labels and inputs, when building interactive elements (buttons, modals, menus, dialogs), when implementing keyboard navigation, when choosing colors and ensuring contrast ratios, when adding ARIA attributes, when testing with screen readers, when implementing focus states and focus management, or when creating heading structures and page landmarks.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Frontend Accessibility
This Skill provides Claude Code with specific guidance on how to adhere to coding standards as they relate to how it should handle frontend accessibility.
When to use this skill
- When creating or editing React components in
.tsxor.jsxfiles - When implementing semantic HTML elements (nav, main, button, article, section, etc.)
- When building forms and ensuring all inputs have associated labels
- When implementing keyboard navigation and focus management
- When adding interactive elements like buttons, links, modals, or menus
- When choosing colors and verifying contrast ratios meet WCAG standards (4.5:1 minimum)
- When adding alternative text to images or icons
- When implementing ARIA attributes for complex UI patterns
- When testing components with screen readers
- When creating logical heading hierarchies (h1-h6)
- When implementing visible focus indicators for keyboard navigation
- When managing focus in dynamic content, modals, or single-page applications
- When ensuring touch targets are appropriately sized for accessibility
Instructions
For details, refer to the information provided in this file: frontend accessibility
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-28
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!