vuetifyjs/vuetify
[Feature Request] Table Select Checkboxes dont have labels by default
Chiusa
#9956 aperta il 12 dic 2019
C: VDataTableT: enhancementgood first issue
Metriche repository
- Star
- (40.995 stelle)
- Metriche merge PR
- (Merge medio 59g 10h) (8 PR mergiate in 30 g)
Descrizione
Problem to solve
When having a select checkbox for the tables the following happens by default
- checkboxes get created (they have a label attached to it but no
aria-labeloraria-labelledby) - header checkbox doesnt have a label
Proposed solution
- add to the header of the table select a
labelandaria-labelprop that can be editable - at times the checkbox might not need to have the label displayed so
aria-labelshould be the one that does the trick from an accessibility point of view