Skip to content

Commit 0418079

Browse files
fix: screenreader reading the toggletip content (#18436)
* fix: screenreader reading the toggletip content * fix: removed role --------- Co-authored-by: Nikhil Tomar <[email protected]>
1 parent 1e1bc22 commit 0418079

File tree

1 file changed

+2
-1
lines changed
  • packages/react/src/components/Toggletip

1 file changed

+2
-1
lines changed

packages/react/src/components/Toggletip/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,8 @@ const ToggletipContent = React.forwardRef<
348348
<PopoverContent
349349
className={customClassName}
350350
{...toggletip?.contentProps}
351-
ref={ref}>
351+
ref={ref}
352+
aria-live="polite">
352353
<div className={`${prefix}--toggletip-content`}>{children}</div>
353354
</PopoverContent>
354355
);

0 commit comments

Comments
 (0)