Skip to content

use custom input labels for connected block focus #9837

@maribethb

Description

@maribethb

Check for duplicates

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

Description

if a block is focused, and the input it is connected to has a custom label, then also display the input's label text in the block's aria label.

if there is no custom label, do NOT fall back to using the field row. in that case, don't include anything about the connected input (just like we have today)

this only applies when a block that is connected to another block's input is focused (for full-block field blocks, the field element is technically the thing that is focused and in that case we should still include the custom input label). it does not apply when reading out the block that contains the custom-labeled input itself.

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

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions