[Bug Report] v-input hint/errors aren't being read by screenreaders #8431
Labels
a11y
Accessibility issue
C: VInput
VInput
T: enhancement
Functionality that enhances existing features
Environment
Vuetify Version: 2.0.5
Vue Version: 2.6.10
Browsers: Chrome 75.0.3770.100
OS: Linux x86_64
Steps to reproduce
Expected Behavior
The screen reader should be reading those messages.
Actual Behavior
It is not.
Reproduction Link
https://codepen.io/phiter/pen/zgJReL
Other comments
I found a solution by adding
role="alert"
to thev-messages__wrapper
div, changing the source on this part:vuetify/packages/vuetify/src/components/VMessages/VMessages.ts
Lines 25 to 33 in 41059c4
This causes the screenreader to actually read the message, which is what would be expected.
The text was updated successfully, but these errors were encountered: