Files
jmap-webmail/components
Matthieu MALVACHEandClaude Sonnet 4.5 b6330642c2 feat(identity): improve accessibility for identity management modal
- Add reusable focus trap hook (use-focus-trap.ts)
  - Traps Tab/Shift+Tab within modal
  - Restores focus on close
  - Handles disabled elements gracefully

- Enhance identity modal with WCAG 2.1 compliance
  - Add role="dialog" and aria-modal="true"
  - Add aria-labelledby linking to modal title
  - Implement focus trap on open

- Add ARIA live regions to identity form
  - Error messages announced to screen readers
  - aria-describedby links inputs to errors
  - aria-invalid state on validation failure

Accessibility: Improves keyboard navigation and screen reader UX
Standards: WCAG 2.1 AA compliant for modal interactions

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-08 16:20:15 +01:00
..