Handling error in input field for accessibility



  • How to make the error-label read by screen reader when there is an error ?
    <q-input :aria-required=true :aria-invalid=error :aria-label=‘label’ v-bind="$attrs" v-on="$listeners" ref=“input” :error=“error”/>
    </q-field>

    I tried to use aria-labelledBy but unable to find generated ID for the error field to map


Log in to reply