Skip to content

Commit e553abc

Browse files
committed
Add aria-atomic attr to live region
1 parent 1f25c90 commit e553abc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TreeView/TreeView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ const Root: React.FC<TreeViewProps> = ({'aria-label': ariaLabel, 'aria-labelledb
8181
return (
8282
<RootContext.Provider value={{announceUpdate}}>
8383
<>
84-
<VisuallyHidden role="status" aria-live="polite">
84+
<VisuallyHidden role="status" aria-live="polite" aria-atomic="true">
8585
{ariaLiveMessage}
8686
</VisuallyHidden>
8787
<UlBox

0 commit comments

Comments
 (0)