🎨 Palette: Add tooltipText to icon-only buttons#121
Conversation
Added `android:tooltipText` matching the `android:contentDescription` for several icon-only buttons (`ImageButton`, `ImageView`) in the UI to provide hover and long-press feedback for mouse, stylus, and touch users. Modified files: - `compose_poll_option.xml`: Delete and Reorder buttons. - `compose_fab.xml`: Main compose FAB. - `fragment_timeline.xml`: Timeline FAB. Co-authored-by: dlukt <201112286+dlukt@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. |
🎨 Palette: Add Tooltip Text to Icon-Only Buttons
💡 What: Added
android:tooltipTextto icon-onlyImageButtonandImageViewelements, mirroring their existingandroid:contentDescription.🎯 Why: To improve accessibility and usability. Icon-only buttons can be ambiguous. Adding
tooltipTextensures that users with mice, trackpads, styluses, or those who long-press on touch screens receive a visual text label explaining the button's function, complementing the audio feedback provided to screen reader users bycontentDescription.♿ Accessibility: Enhances visual accessibility by providing on-demand text labels for ambiguous icons (API 26+).
Modified layouts:
compose_poll_option.xml(Delete and Reorder options)compose_fab.xml(New Post FAB)fragment_timeline.xml(New Post FAB)PR created automatically by Jules for task 12920521906736015493 started by @dlukt