vuetifyjs/vuetify

[Feature Request] Table Select Checkboxes dont have labels by default

Geschlossen

#9.956 geöffnet am 12.12.2019

 (0 Kommentare) (2 Reaktionen) (0 zugewiesene Personen)TypeScript (7.139 Forks)batch import
C: VDataTableT: enhancementgood first issue

Repository-Metriken

Stars
 (40.995 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 59T 10h) (8 gemergte PRs in 30 T)

Beschreibung

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-label or aria-labelledby)
  • header checkbox doesnt have a label

Proposed solution

  • add to the header of the table select a label and aria-label prop that can be editable
  • at times the checkbox might not need to have the label displayed so aria-label should be the one that does the trick from an accessibility point of view

Contributor Guide