Skip to content

Commit

Permalink
fix: screenreader reading the toggletip content (#18436)
Browse files Browse the repository at this point in the history
* fix: screenreader reading the toggletip content

* fix: removed role

---------

Co-authored-by: Nikhil Tomar <63502271+2nikhiltom@users.noreply.github.com>
  • Loading branch information
preetibansalui and 2nikhiltom authored Jan 30, 2025
1 parent 1e1bc22 commit 0418079
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/react/src/components/Toggletip/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,8 @@ const ToggletipContent = React.forwardRef<
<PopoverContent
className={customClassName}
{...toggletip?.contentProps}
ref={ref}>
ref={ref}
aria-live="polite">
<div className={`${prefix}--toggletip-content`}>{children}</div>
</PopoverContent>
);
Expand Down

0 comments on commit 0418079

Please sign in to comment.