feat: improve accessibility — keyboard nav, focus states, ARIA (Closes #35) - #103
Conversation
|
Warning Review limit reached
Next review available in: 59 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Adds comprehensive accessibility enhancements for keyboard navigation, focus states, and ARIA support — meeting WCAG 2.1 AA criteria.
What's Included
public/assets/css/accessibility.css:focus-visibleoutlines on all interactive controls with accent glowaria-modal="true"@media (prefers-reduced-motion)disables all animations@media (forced-colors: active)for Windows High Contrast.sr-onlyutility for hidden descriptive textaria-liveregion for dynamic content updatesaria-invalidstyling with red borders and alert rolesaria-expandedchevron indicatorspublic/assets/js/accessibility.jsaria-live="polite"element with debounced announcements[aria-modal="true"]elements[role="button"]elementswindow.__a11y.announce()andwindow.__a11y.trapFocus()for page scriptsAcceptance Criteria
Lighthouse Impact
:focus-visibleon all interactive elements.text-mutedbumped to AA complianceCloses #35