Skip to content

Commit 75bdc60

Browse files
fix(tooltip): toggle aria-hidden so iphone voiceover works correctly (#14313)
* fix(tooltip): toggle aria-hidden so iphone voiceover works correctly * fix: reversed true false --------- Co-authored-by: Andrea N. Cardona <cardona.n.andrea@gmail.com>
1 parent e66b840 commit 75bdc60

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/react/src/components/Tooltip/Tooltip.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ function Tooltip<T extends React.ElementType>({
195195
: null}
196196
</div>
197197
<PopoverContent
198-
aria-hidden="true"
198+
aria-hidden={open ? 'false' : 'true'}
199199
className={`${prefix}--tooltip-content`}
200200
id={id}
201201
ref={tooltipRef}

0 commit comments

Comments
 (0)