Skip to content

fix: recompute field ARIA when editor is closed#10079

Merged
mikeharv merged 1 commit into
RaspberryPiFoundation:mainfrom
mikeharv:recompute-field-aria
Jun 27, 2026
Merged

fix: recompute field ARIA when editor is closed#10079
mikeharv merged 1 commit into
RaspberryPiFoundation:mainfrom
mikeharv:recompute-field-aria

Conversation

@mikeharv

Copy link
Copy Markdown
Contributor

The basics

The details

Resolves

Fixes #10050

Proposed Changes

Recomputes ARIA context for FieldInput classes after the editor is closed.

Reason for Changes

Previously, we were not doing this, which allowed outdated invalid values to persist on labels for number fields:
image

Test Coverage

Added a test to cover this scenario.

@mikeharv mikeharv requested a review from a team as a code owner June 26, 2026 19:38
@mikeharv mikeharv requested a review from maribethb June 26, 2026 19:38
@github-actions github-actions Bot added the PR: fix Fixes a bug label Jun 26, 2026
@mikeharv mikeharv merged commit a4dc621 into RaspberryPiFoundation:main Jun 27, 2026
9 checks passed
@mikeharv mikeharv deleted the recompute-field-aria branch June 27, 2026 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: fix Fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Invalid values are persisted in aria-labels

2 participants