Open wesbos opened 2 months ago
I think because of the animations or some other DOM changes, the role="alert" on the toaster causes the screen reader to read the text 3 times.
I'm not sure the fix for this, but I would think having a nested div for the role="alert" that does not change would fix it.
Example of the issue on the docs but also happens on syntax.fm
https://github.com/user-attachments/assets/d23a1a50-bade-40c6-a04f-ace7af283af9
@wesbos Thanks for reporting this. If anyone can make a PR, happy to merge!
I think because of the animations or some other DOM changes, the role="alert" on the toaster causes the screen reader to read the text 3 times.
I'm not sure the fix for this, but I would think having a nested div for the role="alert" that does not change would fix it.
Example of the issue on the docs but also happens on syntax.fm
https://github.com/user-attachments/assets/d23a1a50-bade-40c6-a04f-ace7af283af9