Description
Description
I hope if this is the right place for bugs related to the online documentation.
Tooltips that appear when you hover over a question mark in the documentation are hidden using opacity: 0;
, which means they still have pointer events. For example, you cannot select the text under where a tooltip would appear, but you can select the content of the tooltip when it is hidden.
A possible fix would be to set pointer-event: none;
or use display: none;
when a tooltip is hidden. I think the latter might work the best with screen readers.
The text under the tooltip bellow cannot be selected, even when the tooltip is hidden:
Please note that a tooltip has to have been displayed once for the bug to happen with this specific tooltip.
Reproduction URL
E.g., https://typst.app/docs/reference/meta/figure/#parameters-kind
Browsers
No response
OS
No response