focus-states
OfficialAccessible WCAG-compliant focus indicators
AuthorChoreShore
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Interactive elements often lack visible, consistent focus indicators which makes keyboard navigation and assistive use difficult and causes WCAG failures; this skill provides practical, design-aligned focus styles so users can always perceive and follow keyboard focus.
Core Features & Use Cases
- WCAG-aligned guidance: Recommendations and safe color combinations mapped to WCAG 2.4.7 and 2.4.11 to ensure visible focus and sufficient contrast.
- Style options & tokens: Produces focus tokens (color, width, offset, style) and guidance for ring, glow, underline, inset, and offset approaches to fit brand aesthetics.
- Implementation patterns: Concrete CSS and Tailwind utility patterns, component-specific rules, and dark-mode adjustments for consistent cross-theme behavior.
- Testing & fixes: Keyboard testing checklist and common fixes for problems like hidden rings, sticky headers, and modal focus management.
Quick Start
Generate WCAG-compliant focus styles by supplying your primary and background colors and selecting a preferred style (ring, glow, underline, or hybrid).
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: focus-states Download link: https://github.com/ChoreShore/Version1/archive/main.zip#focus-states Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.