eolant / vuetify-toast-snackbar

Basic Vue toast service that uses Vuetify Snackbar component.
MIT License
127 stars 36 forks source link

[Suggestion] Make snack readable by screenreaders #23

Closed phiter closed 4 years ago

phiter commented 4 years ago

Hey! I was creating my own solution and just came across yours, which seems to be more complete.

Screenreaders aren't reading the toast notification, that's because it lacks a role="alert" on it.

Just putting role="alert" on the <v-snackbar fixes the issue.

eolant commented 4 years ago

@phiter Thanks for the suggestion, I'll add it.