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

Activity

  1. microbit-robert commented on Jun 22, 2026

    @microbit-robert
    CollaboratorAuthor

    See #9466, not sure the same fix will work though.

  2. self-assigned this
    on Jun 26, 2026
  3. moved this from Todo to In Progress in Blocklyon Jun 26, 2026
  4. mikeharv commented on Jun 26, 2026

    @mikeharv
    Contributor

    Thanks for reporting @microbit-robert , and providing the link to the other issue. We actually do already call this.recomputeAriaContext() inside doValueInvalid_(), but it was missing from widgetDispose_().

  5. moved this from In Progress to Done in Blocklyon Jun 27, 2026
  6. added theissue type on Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions