Skip to content

Commit f95b30e

Browse files
committed
fix(a11y): made HintTooltip focusable
Closes UXD-1710
1 parent 2815143 commit f95b30e

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/components/HintTooltip/HintTooltip.tsx

+8-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,14 @@ const HintTooltip = ({
2323
...props
2424
}: HintTooltipProps &
2525
Omit<ComponentPropsWithoutRef<typeof Tooltip>, 'popup' | 'width'>) => (
26-
<Tooltip popup={children} width={width} {...props}>
27-
<StyledIcon $flow={flow} name="info-circle-outline" tabIndex={0} />
26+
<Tooltip
27+
popup={children}
28+
width={width}
29+
{...props}
30+
aria-label="Help"
31+
wrapperEl="button"
32+
>
33+
<StyledIcon $flow={flow} name="info-circle-outline" />
2834
</Tooltip>
2935
);
3036

0 commit comments

Comments
 (0)