Tooltips are semantically associated with their target elements using the aria-describedby
attribute, and are announced by screen readers when the element gains keyboard focus.
However, tooltips on elements without dedicated tooltip APIs can’t be guaranteed to be announced correctly. This is because the announcement of aria-describedby
attributes depends on the HTML element’s type and the role
attribute. It also varies between different screen readers. Testing with screen readers is useful to ensure the accessibility of tooltips on these elements.
The tooltip feature currently doesn’t support triggering via long press on touch-screen devices.
Keep in mind that Vaadin components and other UI elements don’t, by default, imply the presence of tooltips in any way. This might make them difficult for users to discover.
In general, visible labels are always preferable to tooltips. A separately defined invisible aria-label
attribute usually provides better accessibility than a tooltip.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4