Skip to content

Commit

Permalink
Utilize ref in Toaster (#536)
Browse files Browse the repository at this point in the history
  • Loading branch information
rostero1 authored Jan 15, 2025
1 parent edc615f commit b127760
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,7 @@ const Toaster = forwardRef<HTMLElement, ToasterProps>(function Toaster(props, re
return (
// Remove item from normal navigation flow, only available via hotkey
<section
ref={ref}
aria-label={`${containerAriaLabel} ${hotkeyLabel}`}
tabIndex={-1}
aria-live="polite"
Expand Down

0 comments on commit b127760

Please sign in to comment.