[tooltip] : not accessible
Description
Tooltip suffer from accessibility part. Indeed, few accessibility elements are not present on the component:
- role
tooltip
-
aria-describeby
to describe which element the tooltip is for - escape key pressed must to hide the tooltip and blur on focus control element
References
- Behaviour on Tooltip component from FluentDesign
- Tooltip WAI-ARIA
- ARIA Apg
- https://sarahmhigley.com/writing/tooltips-in-wcag-21/#best-practices-summary
- https://www.accede-web.com/en/guidelines/rich-interface-components/customized-tooltips/
- Fast Issue
Reproducing
Nothing, just description above explain the problem
Aria-Describedby problem
We cannot reference IDREF across Shadow Dom boundaries. So we cannot describe a wcs-button
with wcs-tooltip
and an aria-describedby
.
Fast suffer from the same problem https://github.com/microsoft/fast/issues/6442
We have to wait for the cross root aria delegation spec https://github.com/leobalter/cross-root-aria-delegation
[Roadmap] Incrément=5
Edited by Rémi Martinez