ic-ui-kit icon indicating copy to clipboard operation
ic-ui-kit copied to clipboard

Internal issue 3107 - Tool-tips show immediately on hover

Open ticket-sync[bot] opened this issue 4 months ago • 4 comments

Tool-tips show immediately on hover - this is an issue with the tool-tips on checkbox and affects groups especially as the tool tips will often cover other options within a group.

Tool tips should only show after a few seconds of hovering.

ticket-sync[bot] avatar Sep 16 '25 12:09 ticket-sync[bot]

investigate any accessibility implications with having a delay

ad9242 avatar Sep 29 '25 08:09 ad9242

Note for backlog refinement

This may have an impact on screen reader behaviour - maybe this should be done after #3853?

E.g. if you focus on a button which is labelled "Add", but it has a tooltip "Add to favourites", will the screen reader read out that "Add to favourites" description immediately or will it only be read out once the tooltip appears after the delay?

How would this work? Personally I think the tooltip text should get read out immediately when you focus on the button but I'm not sure if this would happen with how the tooltip works

GCHQ-Developer-847 avatar Oct 08 '25 14:10 GCHQ-Developer-847

Investigate whether we want to do this first. If we decide to do it, add this as a prop which people can turn on (and specify the amount of delay) so it doesn't create a breaking change

GCHQ-Developer-847 avatar Oct 09 '25 08:10 GCHQ-Developer-847

(When discussing in backlog refinement, we felt that the screen reader behaviour would probably be fine because even if it isn't visible, it's still rendered in the DOM so the screen reader would be able to pick it up)

GCHQ-Developer-847 avatar Oct 09 '25 09:10 GCHQ-Developer-847