🎨 Palette: Add tooltips to audio and video player controls#122
Conversation
This UX improvement adds `android:tooltipText` attributes to the icon-only playback buttons (play/pause, forward, rewind) in the audio and video viewer components. 💡 What: Added static and dynamic tooltips to media playback controls. 🎯 Why: To improve accessibility and user understanding on devices supporting long-press or mouse-hover interactions for icon-only buttons. ♿ Accessibility: Tooltips mirror the `contentDescription` natively on Android API 26+ devices, assisting mouse and stylus users without disrupting screen readers. 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. |
This PR adds
android:tooltipTextattributes to the icon-only playback buttons (play/pause, forward, rewind) in the audio and video viewer components.💡 What: Added static XML attributes and dynamic Java updates for tooltips to media playback controls.
🎯 Why: To improve accessibility and user understanding on devices supporting long-press or mouse-hover interactions for icon-only buttons.
♿ Accessibility: Tooltips mirror the
contentDescriptionnatively on Android API 26+ devices, assisting mouse and stylus users without disrupting screen readers.PR created automatically by Jules for task 14608623517414763915 started by @dlukt