Skip to content

🎨 Palette: [UX improvement] Add tooltips to custom icon-only interactive widgets#119

Open
JustLookAtNow wants to merge 1 commit intomasterfrom
palette-add-tooltips-to-gesture-detectors-16915671100134482092
Open

🎨 Palette: [UX improvement] Add tooltips to custom icon-only interactive widgets#119
JustLookAtNow wants to merge 1 commit intomasterfrom
palette-add-tooltips-to-gesture-detectors-16915671100134482092

Conversation

@JustLookAtNow
Copy link
Copy Markdown
Owner

💡 What:

Added Tooltip wrappers to custom icon-only interactive components that use GestureDetector. Specifically:

  1. The "expand tags" down-arrow button in lib/widgets/torrent_list_item.dart.
  2. The site color picker circle in lib/pages/server_settings_page.dart.

🎯 Why:

While standard IconButton widgets accept a tooltip property, custom interactive icons built using GestureDetector or InkWell do not. This leaves these elements completely inaccessible to screen readers and prevents helpful hover text from displaying on desktop and web environments.

♿ Accessibility:

  • Screen readers will now correctly announce "展开标签" (Expand tags) and "选择站点颜色" (Select site color) instead of silence or a generic "button" label.
  • Mouse and hover interactions on desktop/web will now present descriptive text, aiding discoverability.

PR created automatically by Jules for task 16915671100134482092 started by @JustLookAtNow

Wraps `GestureDetector` widgets containing only icons with `Tooltip`
components to improve accessibility. Specifically targets the "expand tags"
chevron in the torrent list item and the site color picker in server settings.

Co-authored-by: JustLookAtNow <12379683+JustLookAtNow@users.noreply.github.com>
@google-labs-jules
Copy link
Copy Markdown
Contributor

👋 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 @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant