Closed sissbruecker closed 1 year ago
We considered this, see comments in the tooltip discussion.
Currently does NOT keep opened state when hover over the tooltip overlay
But personally I don't remember why it wasn't implemented.
Actually, we already have a logic checking for mouseleave
event relatedTarget
and a test for it:
However, this does not work with Lumo styled tooltips, as there is some margin and relatedTarget
is body
.
What is the problem?
According to WCAG Content on Hover and Focus, additional content, such as tooltips, must be hoverable itself:
The Understanding SC 1.4.13 further clarify when this can be an issue:
Browsers
Screen Readers