Skip to content

Invalid values are persisted in aria-labels #10050

Description

@microbit-robert

Check for duplicates

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

Description

Using v13 of Blockly, edit a number field and enter some invalid text. When the field is re-focused after the edit is complete, the value for sighted users reverts to the previous valid value but the aria-label text does not. It is not updated if you move focus away and back to the input either.

Reproduction steps

Priority

No response

Stack trace

Screenshots

Screen.Recording.2026-06-22.at.16.56.39.mov

Browsers

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions