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 modifying UI components, forms, buttons, or interactive elements
- •When implementing keyboard navigation and focus management in SPAs or modals
- •When adding semantic HTML elements (nav, main, article, section, button, etc.)
- •When implementing ARIA roles, landmarks, labels, and live regions
- •When ensuring proper color contrast ratios (4.5:1 for normal text, 3:1 for large text)
- •When adding alternative text (alt attributes) for images and meaningful labels for form inputs
- •When creating navigation menus, dropdowns, accordions, tabs, or complex widgets
- •When implementing screen reader-only content or visually hidden elements
- •When managing focus in dynamic content updates, modals, or route changes
- •When testing components with keyboard-only navigation (Tab, Enter, Space, Arrow keys)
- •When implementing proper heading hierarchy (h1-h6) for document structure
- •When working with form validation and accessible error messages
- •When ensuring touch targets meet minimum size requirements (44x44px) for mobile accessibility
Instructions
For details, refer to the information provided in this file: frontend accessibility