vuetifyjs/vuetify

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

已關閉

#9,956 建立於 2019年12月12日

 (0 則留言) (2 個反應) (0 位負責人)TypeScript (7,139 個分叉)batch import
C: VDataTableT: enhancementgood first issue

倉庫指標

星標
 (40,995 顆星)
PR 合併指標
 (平均合併 59天 10小時) (30 天內合併 8 個 PR)

描述

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

貢獻者指南