Skip to content

[Tree] Screen readers announce incorrect position for level 1 items #2607

@DanielleRameau

Description

@DanielleRameau

Provide a general summary of the issue here

Summary
In all Tree variants, elements on level 1 are always announced as “1 of x level 1” by screen readers, regardless of their actual position.

Problem
The real position of each root-level item is not conveyed.
Likely cause: aria-posinset is always set to 1 for all root elements.

Image

Proposed Fix
👨‍💻 Investigate and ensure that aria-posinset correctly reflects the actual index of each level 1 item in the tree.

👤 Your name

DR

🧢 Your Product/Team

SLDS

Metadata

Metadata

Assignees

Type

Projects

Status

✈️ Released

Relationships

None yet

Development

No branches or pull requests

Issue actions