Show tooltips for Idea Hub icon buttons
See original GitHub issueThe icon buttons in the Idea Hub widget should have tooltips, per the Figma file.
See https://app.asana.com/0/1200491083500938/1200625443460145/f
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
- The icon buttons in the Idea Hub widgets should have tooltips using the same approach and style that is already present for e.g. the global help menu. Here are the labels to use:
- “Save for later” (for the pin icon in the “New” tab)
- “Dismiss” (for the x icon in the “New” tab)
- “Remove from saved” (for the “unpin” icon in the “Saved” tab)
- “Start a draft post” (for the create draft icon in both “New” and “Saved”)
Implementation Brief
- Inside
assets/js/modules/idea-hub/components/dashboard/DashboardIdeasWidget/Idea.js
:- Add a
title
prop with value “Start a draft post” to theIDEA_HUB_BUTTON_CREATE
button - Make sure you use appropriate i18n, i.e.
__( 'Start a draft post', 'google-site-kit' )
- Add a
- Repeat for the other buttons, adding the labels in the AC as
title
attributes. - This should force the
Button
component to render with a tooltip.
Test Coverage
- No new tests required.
Visual Regression Changes
- It’s possible that VRT images relating to the DashboardIdeasWidget component might need updating.
QA Brief
- Idea Hub Icon Buttons will have tooltip with the texts from AC.
Changelog entry
- Add tooltips for action buttons in the Idea Hub dashboard widget.
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (4 by maintainers)
Top Results From Across the Web
Tooltips for buttons - Qlik Community - 1709800
We would like to propose an enhancement on the recently introduced native Qlik Sense buttons (Assets > Charts > Button).
Read more >Specifying the icon source and tooltip for an Icon control - Pega
Using images and tooltips to indicate an icon's purpose makes it easier ... Image and click the Show Image Viewer icon for the...
Read more >Icon button | IntelliJ Platform UI Guidelines
A toolbar icon button is an icon that appears on a toolbar. ... Show a tooltip with the button name on mouse hover....
Read more >Icon reference | IntelliJ IDEA Documentation - JetBrains
If you want to know what action a button performs, hover the mouse pointer over it to display a tooltip with the action...
Read more >Tooltip for Incident icons on form. - Ivanti Community
As far as I know there is only tooltips on buttons...buttons in the toolbar mind you. Immanuel Jungheim. Consultant.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@wpdarren I think that
X
there is a well-known pattern to close something and people won’t need a tooltip for it. But we need to make sure that it has the appropriate ARIA label to let screen readers read it correctly.@felixarntz that’s a good point, I didn’t make that association. In that case, “start” is probably the simplest “safe” word to use here 👍