🎨 Palette: Add focus-visible styles to Captain Dashboard buttons#62
Conversation
Added explicit `focus-visible` styles to all interactive elements and buttons in the `CaptainDashboard` component. This ensures that keyboard users can clearly see which element is currently focused, improving accessibility and navigation for users relying on keyboard navigation. This change aligns with the brutalist design system where default browser focus rings are often insufficient. Co-authored-by: DhaatuTheGamer <90041791+DhaatuTheGamer@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
focus-visiblestyles to all primary and secondary call-to-action buttons in theCaptainDashboardcomponent.🎯 Why: To improve accessibility for keyboard users. The brutalist design system often obscures default browser focus rings, making it difficult to navigate interactively.
📸 Before/After: N/A (Visual change only apparent when navigating with a keyboard; screenshots provided in verification step demonstrate no visual regressions in normal state).
♿ Accessibility: Enhanced keyboard navigation by providing a clear, visible focus ring (
ring-2 ring-primary) with an offset when buttons are focused via keyboard.PR created automatically by Jules for task 11179818478010278614 started by @DhaatuTheGamer