UUI icon indicating copy to clipboard operation
UUI copied to clipboard

[A11y Switch]: Tooltip doesn't show on keyboard focus

Open mari-shakhanava opened this issue 2 months ago • 0 comments

Description

Tooltip component doesn't display additional content when Switch/Checkbox receives keyboard focus, only on mouse hover. This violates WCAG 1.4.13 Content on Hover or Focus (Level AA).

Steps to Reproduce

https://codesandbox.io/p/sandbox/uui-switch-isssue-exapmle-9dwn8y

Actual result

  • Hover: Tooltip shows
  • Keyboard Focus (Tab): Tooltip doesn't show Focus events on nested <input> inside Switch/Checkbox don't bubble to the wrapper element that Tooltip monitors.

Expected result

Both hover AND focus should trigger the tooltip.

Environment

  • UUI version: 6.3.3

mari-shakhanava avatar Nov 10 '25 17:11 mari-shakhanava