[Bug Report][2.6.2] VSelect validation errors
See original GitHub issueEnvironment
Vuetify Version: 2.6.2 Vue Version: 2.6.12 Browsers: Chrome 97.0.4692.71 OS: Mac OS 10.15.7
Steps to reproduce
- Get HTML output for v-select component
- Run it through W3C HTML validator at https://validator.w3.org/
- See errors show below
Expected Behavior
HTML markup should validate
Actual Behavior
Three errors are returned:
- The element
label
must not appear as a descendant of an element with the attributerole=button
. - Attribute
aria-readonly
must not be specified on elements that have attributereadonly
. - The element
input
must not appear as a descendant of an element with the attributerole=button
.
Reproduction Link
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
vue.js - v-select on close event or remove validation error timer?
I want to be able to clear the validation error after X seconds if the user didn't select anything. As you can see...
Read more >Troubleshooting Guide - IBM
Configuration agent failed to pass validation . . 70. Scheduled actions failed with the error message. KCF0007E Target object is locked by another...
Read more >Separating IDM Applications into Multiple Domains - Oracle
Troubleshooting Item #9: LDAP Connection Error: [PLUGIN][OIM] - ERROR - CLONE-71000 configuration Failed. Exiting configuration due to data validation failure.
Read more >Required - Vue Select
Required. If you need to ensure that a selection is made before a form is ... <v-select :options="books" label="title" v-model="selected"> <template ...
Read more >v-select API - Vuetify
name type default
#append‑icon string '$dropdown'
#append‑outer‑icon string undefined
#attach any false
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
A stupid workaround to fix the html validation is to use mounted BUT this is not good.
mounted() { this.$el.querySelectorAll(".v-input__slot")?.removeAttribute("role") }
I’ve ended up with this in my App.vue to swap role=button for role=combobox and remove redundant
aria-readonly