Describe the bug
The tooltip component the word "tooltip" isn't announced as a label.
The element that serves as the tooltip container should have a role tooltip.
Screen reader users are not able to discern the purpose of elements with role="tooltip" that do not have an accessible name. Aria tooltip elements must have discernible text that clearly describes the destination, purpose, function, or action for screen reader users.
From w3c: Authors SHOULD ensure that elements with the role tooltip are referenced through the use of aria-describedby before or at the time the tooltip is displayed.
Steps to reproduce the bug
- Go to the tooltip component page
- Listen to the example buttons using assistive technology (in my case I used JAWS and NVDA)
- You hear the tooltip wording announced ("show on top button; top") but it's not declaring it as a tooltip. Currently it sounds like the button is repeating itself.
Expected Behavior
Listen to the tooltip example on Deque's website. You can hear "tooltip colon" then the tooltip wording.
Ideally on our component examples you would hear "Tooltip colon: Top. Show on top".
Screenshots
No response
System setup
PC, Chrome, JAWS, NVDA
Additional context
No response
Code of Conduct
Describe the bug
The tooltip component the word "tooltip" isn't announced as a label.
The element that serves as the tooltip container should have a role tooltip.
Screen reader users are not able to discern the purpose of elements with role="tooltip" that do not have an accessible name. Aria tooltip elements must have discernible text that clearly describes the destination, purpose, function, or action for screen reader users.
From w3c: Authors SHOULD ensure that elements with the role tooltip are referenced through the use of aria-describedby before or at the time the tooltip is displayed.
Steps to reproduce the bug
Expected Behavior
Listen to the tooltip example on Deque's website. You can hear "tooltip colon" then the tooltip wording.
Ideally on our component examples you would hear "Tooltip colon: Top. Show on top".
Screenshots
No response
System setup
PC, Chrome, JAWS, NVDA
Additional context
No response
Code of Conduct