gcdevops / HRWhiteListing

MIT License
2 stars 0 forks source link

Create New Employee (Admin Mode) - Toast notification should have role="status" #264

Open will0684 opened 4 years ago

will0684 commented 4 years ago
Screen Shot 2020-04-27 at 12 29 22 PM

Currently the toast has a role of "alert", which will interrupt users using screen readers. Notifications, validation messages and status' conveyed through toasts should always use role="status" to ensure that the information is politely conveyed to the user after they have completed their actions.

You can read more about a11y and toasts here:

https://www.scottohara.me/blog/2019/07/08/a-toast-to-a11y-toasts.html