CodeSeven / toastr

Simple javascript toast notifications
http://www.toastrjs.com
MIT License
11.96k stars 2.04k forks source link

Accessibility: make aria-live attribute "assertive" also for 'success' and 'info' toasts #662

Open mathildew opened 3 years ago

mathildew commented 3 years ago

Since aria-live attribute for success and info toasts is "polite", sometimes, the reader doesn't read out loud the notification. They should be made assertive, since knowing that something succeeded is equally important as knowing that something failed.