Skip to content

[Screen reader] The "Begin ..." label is missing information in some cases #9457

@microbit-robert

Description

@microbit-robert

Check for duplicates

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

Description

For c-shaped blocks that don't have text on the statement input line and have value inputs in the previous field row, getFieldRowLabel is only returning part of the block text. Please see the example below, where "Begin pressed" is output, but it would be better if the output was "Being on button A pressed".

Image

Other blocks that have text on the statement input:

Image

or more simple c-shaped blocks without inputs:

Image

are readout correctly.

Reproduction steps

  1. Go to https://screen-reader-preview.review-pxt.pages.dev/#editor - this is a version of MakeCode that has the latest screen reader work integrated
  2. Add an "on button pressed" block and navigate to it's statement input connection
  3. Observe the partial "Begin pressed" output

Priority

No response

Stack trace

Screenshots

No response

Browsers

No response

Metadata

Metadata

Labels

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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions