vuetifyjs/vuetify

[Feature Request] Add Aria-labels to VTreeview Buttons

Open

#21,585 opened on 2025年6月17日

GitHub で見る
 (4 comments) (1 reaction) (0 assignees)TypeScript (40,995 stars) (7,139 forks)batch import
C: VTreeviewT: enhancementa11ygood first issue

説明

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"

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

[Feature Request] Add Aria-labels to VTreeview Buttons · vuetifyjs/vuetify#21585 | Good First Issue