Skip to content

[fields] [DO NOT MERGE] Verify #23101 fix with NVDA - #23732

Closed
JCQuintas wants to merge 5 commits into
mui:masterfrom
JCQuintas:jcq/nvda-verify-23101
Closed

JCQuintas wants to merge 5 commits into
mui:masterfrom
JCQuintas:jcq/nvda-verify-23101

Conversation

@JCQuintas

Copy link
Copy Markdown
Member

Summary

Verification-only PR for #23101, not meant to be merged. It runs a real NVDA on GitHub Actions Windows runners (via Guidepup) against the proposed PickersTextField fix.

The checks:

Refs #23101, #23103

…eraction

`aria-live` sat on the `role="group"` root, which is also named via
`aria-labelledby`. Every mutation inside the group (section focus,
`aria-valuetext`, focus/error class toggles) re-fired the live region and
NVDA re-spoke the label, even after focus left the field.

Move the live region to the helper text: it is now always rendered with
`role="status"` (empty margin collapsed), so helper text / error changes
are still announced (mui#16637) without dragging the field label along.

Fixes mui#23101
Builds the e2e fixtures twice (PickersTextField from the PR base vs. the
PR head) and drives them with NVDA through Guidepup on Windows, logging
what NVDA speaks for the label-repeat repro and the helper text error flow.
@JCQuintas JCQuintas added type: regression A bug, but worse, it used to behave as expected. scope: pickers Changes related to the date/time pickers. labels Oct 1, 2026
@JCQuintas JCQuintas self-assigned this Oct 1, 2026
@code-infra-dashboard

code-infra-dashboard Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Deploy preview

https://deploy-preview-23732--material-ui-x.netlify.app/
QR code for https://deploy-preview-23732--material-ui-x.netlify.app/

Bundle size

Bundle Parsed size Gzip size
@mui/x-data-grid 0B(0.00%) 0B(0.00%)
@mui/x-data-grid-pro 0B(0.00%) 0B(0.00%)
@mui/x-data-grid-premium 0B(0.00%) 0B(0.00%)
@mui/x-charts 0B(0.00%) 0B(0.00%)
@mui/x-charts-pro 0B(0.00%) 0B(0.00%)
@mui/x-charts-premium 0B(0.00%) 0B(0.00%)
@mui/x-date-pickers 🔺+50B(+0.02%) 🔺+14B(+0.02%)
@mui/x-date-pickers-pro 🔺+52B(+0.02%) 🔺+48B(+0.06%)
@mui/x-tree-view 0B(0.00%) 0B(0.00%)
@mui/x-tree-view-pro 0B(0.00%) 0B(0.00%)
@mui/x-scheduler 0B(0.00%) 0B(0.00%)
@mui/x-scheduler-premium 0B(0.00%) 0B(0.00%)
@mui/x-chat 0B(0.00%) 0B(0.00%)
@mui/x-license 0B(0.00%) 0B(0.00%)

Details of bundle changes


Check out the code infra dashboard for more information about this PR.

- Leave every field from its first section: in Firefox, Tab from a
  non-first section moves focus to the top of the page (also on master),
  which looped the key path and never reached the second field.
- Assert the key path ends on the "After" button.
- Retry `navigateToWebContent` until NVDA speaks for the page instead of
  recording an all-silent log.
- Only enforce the master control on Chromium, where mui#23101 was reported;
  Firefox records whether master reproduces as an annotation.
- Only assert the mui#16637 announcements on the fixed build.
With `role="status"` on the element referenced by `aria-describedby`,
NVDA in Firefox stopped reading the helper text when focus enters the
field. A plain `aria-live="polite" aria-atomic="true"` keeps the same
announcements without changing the element's role.
Test the PR build only, no master build to compare against. One field
per page, and one test per expected behavior:

- label and helper text are read once when focus enters the field
- the label is not read again while moving between sections or
  changing a value
- the label is not read once focus moves to the next elements
- a validation error is announced every time it appears, without
  the label
@github-actions github-actions Bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Oct 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@JCQuintas JCQuintas closed this Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: out-of-date The pull request has merge conflicts and can't be merged. scope: pickers Changes related to the date/time pickers. type: regression A bug, but worse, it used to behave as expected.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant