Skip to content

[Screen reader] consider excluding instances of FieldImage from block aria labels #9452

@microbit-robert

Description

@microbit-robert

Check for duplicates

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

Description

While integrating the latest screen reader work into MakeCode, we found that the fluent block readout included the aria labels from instances of FieldImage in the block. In the MakeCode case, these are buttons to add / remove else and else if clauses. While we want these aria labels when navigating to the mutator buttons themselves, it was confusing and overloading to have these labels included in the overall block output.

Examples below (these use a tweaked block readout, but the impact of the FieldImage labels is evident regardless).

With FieldImage labels (the more clauses you have, the worse it gets):
Image

Without FieldImage labels:
Image

We don't know how other consumers of Blockly use FieldImage, so excluding by default might not be appropriate.

Reproduction steps

Priority

No response

Stack trace

Screenshots

No response

Browsers

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue: bugDescribes why the code or behaviour is wrong

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions