🎨 Palette: Add keyboard focus ring to connection retry button#257
Conversation
Co-authored-by: thebearwithabite <216692431+thebearwithabite@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
💡 What: Added explicit keyboard focus indicator (
focus-visible:ring-2) to the "Retry Now" button in the disconnectedConnectionStatusbanner.🎯 Why: Ensures that users navigating via keyboard can clearly see when they have focused the manual retry action during a backend outage. Ad-hoc error banners frequently omit these standard accessibility styles.
📸 Before/After: Before, tabbing to the "Retry Now" button showed no visual indication of focus. After, focusing the button displays a clear, contrasting ring (
ring-white/50).♿ Accessibility: Improves WCAG 2.1 Success Criterion 2.4.7 (Focus Visible) by providing a highly visible focus state on a critical error recovery action.
PR created automatically by Jules for task 11198169413223760924 started by @thebearwithabite