You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Let readers move the pointer onto a tooltip without it closing #4970
Tooltips on the docs site close as soon as the pointer leaves their trigger, so a reader cannot move the pointer onto the tooltip to read it with a screen magnifier.
What is getting in your way
WCAG 1.4.13 (Content on Hover or Focus) asks that hover content stays open while the pointer is on it. The shared tooltip in src/Elastic.Documentation.Site/Assets/tooltip.ts ignores the pointer (pointer-events: none) and hides on pointerout of its trigger. The tippy.js tooltips it replaces behaved the same way, so this is an existing gap and not a regression. A review of #4967 raised it.
What would you like instead
A tooltip that stays open while the pointer travels to it and rests on it, without getting in the way of the page under it.
#4967 tried the direct approach and reverted it: the tooltip took pointer events, and a mouse leaving the trigger had 150ms to reach it. The review found three problems that a design has to answer:
The tooltip opens above its trigger, so in a stacked list (property rows, search results, schema types) it covers the row above. A pointer moving up to that row lands on the tooltip, the tooltip stays open, and the click does nothing. Mono tooltips can be 48rem wide.
Moving the mouse off a trigger that still has keyboard focus closed the tooltip, and the keyboard could not bring it back without tabbing away and back.
A click inside the tooltip blurs a focused trigger, and the focusout hides the tooltip in the middle of a text selection.
Anything else
Options worth comparing: hoverable only for tooltips with long text, a tooltip that lets clicks through to the element under it, or opening beside the trigger in dense lists. The reverted attempt is commit a9b56072e80519c6d80628f882f39a7939a758e6 on the branch of #4967.
Hi @reakaleek, I'd like to take this. I'd let the pointer move onto the tooltip in tooltip.ts (pointer events on, plus a short close delay) so it stays open while hovered, per WCAG 1.4.13, with a browser test. Okay to pick it up?
Activity
Revert "fix: keep the tooltip open while the pointer is on it"
Show tooltips with Floating UI and drop tippy.js (#4967)
rahulsjha commentedon Nov 21, 2026
Hi @reakaleek, I'd like to take this. I'd let the pointer move onto the tooltip in
tooltip.ts(pointer events on, plus a short close delay) so it stays open while hovered, per WCAG 1.4.13, with a browser test. Okay to pick it up?