Skip to content

Conversation

@ckundo
Copy link
Member

@ckundo ckundo commented Nov 16, 2025

Fixes #47

Changes

  • ✅ Add global focus styles with 2px solid #4299e1 outline
  • ✅ Implement :focus-visible for progressive enhancement
  • ✅ Update search input focus to use visible outline
  • ✅ Ensure 3:1 minimum contrast ratio for focus indicators
  • ✅ Support both keyboard and mouse interactions

WCAG Compliance

2.4.7 Focus Visible (Level AA) - Keyboard focus indicator must be visible

Testing

  • Build succeeds
  • Focus indicator visible when tabbing through page
  • Focus indicator has sufficient contrast (3:1 minimum)
  • :focus-visible works in supporting browsers (Chrome, Edge, Safari)
  • Visual appearance appropriate for all interactive elements

Visual Example

Focus indicator is a 2px solid blue (#4299e1) outline with 2px offset, providing clear visibility against all background colors used in the dashboard.

- Add global focus styles with 2px solid #4299e1 outline
- Implement :focus-visible for progressive enhancement
- Update search input focus to use visible outline instead of subtle shadow
- Ensure 3:1 contrast ratio for focus indicators
- Support both keyboard and mouse interactions appropriately

WCAG: 2.4.7 Focus Visible (Level AA)

All focusable elements now have a clearly visible focus indicator
when navigating with the keyboard, making it easy for keyboard users
to see which element has focus.
@ckundo ckundo added bug Something isn't working keyboard Keyboard accessibility issues labels Nov 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working keyboard Keyboard accessibility issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants