vuetifyjs/vuetify

[Feature Request] Add Aria-labels to VTreeview Buttons

クローズ

#21,585 opened on 2025/06/17

 (4 件のコメント) (1 件のリアクション) (0 人の担当者)TypeScript (7,139 件のフォーク)batch import
C: VTreeviewT: enhancementa11ygood first issue

Repository metrics

Stars
 (40,995 個のスター)
PR merge metrics
 (平均マージ 59d 10h) (30d で 8 merged PRs)

説明

Problem to solve

Currently when using a VTreeview component the Expand/collapse button for each node of the Tree simply read by a Screen Reader as "Button" without any context as to what it does when activated.

Proposed solution

Add an aria label based on the current state and node label.

So if you have a tree like:

> Red
V Green
   > Orange

The buttons would read as "Expand Red", "Collapse Green", "Expand Orange"

コントリビューターガイド