Skip to content

Commit ef3a484

Browse files
committed
chore: address-interactive-role-warning-in-tooltip
1 parent 669d535 commit ef3a484

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/lib/tooltip/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ function Tooltip({
4444
return (
4545
<TooltipTrigger {...{ delay }} {...props}>
4646
<Focusable>
47-
<div {...props.wrapperProps}>{children}</div>
47+
<div {...props.wrapperProps} role="button">
48+
{children}
49+
</div>
4850
</Focusable>
4951
<AriaTooltip
5052
offset={props.tooltipProps?.offset ?? 8}

0 commit comments

Comments
 (0)