carbon-addons-iot-react
carbon-addons-iot-react copied to clipboard
[TableViewDropdown] Custom tool tips for each Dropdown item
What package is this for?
- [x] React
- [ ] Angular
Summary
Need an option to add custom tooltips for each dropdown item. This enhancement is needed for
- IBM Engineering
Component for which Enhancement is required: https://carbon-addons-iot-react.com/?path=/story/1-watson-iot-table-user-view-management-tableviewdropdown--with-state
Specific timeline issues / requests
Do you want this work within a specific time period? ASAP Is it related to an upcoming release?
Available extra resources
What resources do you have to assist this effort?
@JordanWSmith15 @dianatran18 Thoughts?
@Happyrajsinh Do you have a design? My main concern is around A11Y. The native hover tooltip currently displays the label in case it doesn't fit due to translation or just being too long, and is also needed for A11Y.

Yes we've the design, This is what it would look like:

This is not accessible. The tooltips should show what is in the text and making it different will confuse sight impaired users.
This is accessible because a screen reader would read the menu item and then the hover tip. This site shows an example for Chrome Vox. https://pressbooks.library.torontomu.ca/wafd/chapter/tooltips/#:~:text=Accessible%20Tooltip%20in%20Action&text=The%20Tab%20key%20is%20used,its%20content%20is%20read%20aloud.
Following this example, our hover tips probably result in duplicate text being read each time.
As long as it will work in Jaws on Firefox (our supported platform)
So Team, we will need this enhancement. Anything else I can help you with?
@Happyrajsinh Can you contribute this requirement, since you are the only team in need of it?
My research finds that screen readers have the ability to read title attribute tooltips but this feature is often disabled by default or by the user depending on the screen reader. Rather than using the title attribute for this text, we could use the definition tooltip which is handled differently and would be more appropriate as we are providing a definition.
More info about definition tooltip: https://carbondesignsystem.com/components/tooltip/usage/#definition-tooltip
No, @JordanWSmith15 I can't contribute otherwise I would have assigned it to myself right away. We don't need this on urgent basis but it can be set to medium priority.
@JordanWSmith15 any update on this or estimate when this can be picked up by team?
@Happyrajsinh It is unlikely to be picked up any time soon