🎨 Palette: Tooltips on disabled buttons in JobStatus - #505
🎨 Palette: Tooltips on disabled buttons in JobStatus#505google-labs-jules[bot] wants to merge 1 commit into
Conversation
👋 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: Wrapped the disabled 'Previous turn' and 'Next turn' buttons in the
JobStatuscomponent with aninline-flexspanto attach thetitleattribute for tooltips.🎯 Why: Disabled buttons often swallow pointer events on some browsers, making standard tooltips (
titleattributes) inaccessible. Wrapping them with a span allows users to hover over the disabled button area and see the tooltip explaining what the button does.📸 Before/After: No visual changes for enabled buttons. When disabled, users can now see the "Previous turn" or "Next turn" tooltip upon hovering.
♿ Accessibility: This fix restores standard tooltip visibility on disabled elements for non-keyboard users, while preserving existing
aria-labelfunctionality on the button itself.PR created automatically by Jules for task 18202060840929922951 started by @TytaniumDev