Skip to content

[Screen reader] Trees should have aria-labels or aria-labelledby attributes #9464

@microbit-robert

Description

@microbit-robert

Check for duplicates

  • I have searched for similar issues before opening a new one.

Description

The toolbox tree and flyout tree are missing these attributes which I think are required to follow best practice. For most screen readers you can get enough context from the region change, but for some reason, JAWS does not announce the region change and the trees themselves don’t have labels. I have tried changing the JAWS settings (general verbosity and web page specific verbosity) to no avail. This change makes the NVDA readout more verbose, but I think this is necessary to support anyone using JAWS.

It’s particularly bad in MakeCode without the tree labels as we move from the Basic category to the Basic flyout where the first item is the Basic FlyoutLabel, which is very confusing.

Reproduction steps

Priority

No response

Stack trace

Screenshots

No response

Browsers

No response

Metadata

Metadata

Assignees

Labels

issue: bugDescribes why the code or behaviour is wrongissue: triageIssues awaiting triage by a Blockly team member

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions