Skip to content

[meter][progress] Fix label announcements in NVDA - #4200

Merged
mj12albert merged 3 commits into
mui:masterfrom
mj12albert:fix/progress-meter-label
Feb 26, 2026
Merged

mj12albert merged 3 commits into
mui:masterfrom
mj12albert:fix/progress-meter-label

Conversation

@mj12albert

@mj12albert mj12albert commented Feb 26, 2026 •

Copy link
Copy Markdown
Member

Preview: https://deploy-preview-4200--base-ui.netlify.app/react/components/progress

Injects <div role="presentation" style={visuallyHidden}>x</div> inside <Progress.Root> and adding role="presentation" to the <Label> to work around some issues on NVDA's side:

Partial fix for #4184

@mj12albert mj12albert added component: progress Changes related to the progress component. component: meter Changes related to the meter component. labels Feb 26, 2026
@pkg-pr-new

pkg-pr-new Bot commented Feb 26, 2026 •

Copy link
Copy Markdown
  • base-ui-tanstack-start

  • vite-css-base-ui-example

    pnpm add https://pkg.pr.new/@base-ui/react@4200
    
    pnpm add https://pkg.pr.new/@base-ui/utils@4200
    

commit: 2554da9

@mui-bot

mui-bot commented Feb 26, 2026 •

Copy link
Copy Markdown

Bundle size report

Bundle Parsed size Gzip size
@base-ui/react 🔺+248B(+0.05%) 🔺+78B(+0.05%)

Details of bundle changes


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

@netlify

netlify Bot commented Feb 26, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit 2554da9
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/69a03cb1929e5f0007f81811
😎 Deploy Preview https://deploy-preview-4200--base-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@mj12albert
mj12albert marked this pull request as ready for review February 26, 2026 06:57
@atomiks

atomiks commented Feb 26, 2026

Copy link
Copy Markdown
Contributor

On JAWS, "Export data" is still not announced, just says e.g. "24% Progress Bar"

@mj12albert mj12albert changed the title [meter][progress] Fix label announcements [meter][progress] Fix label announcements in NVDA Feb 26, 2026
@mj12albert

Copy link
Copy Markdown
Member Author

Seems it's this JAWS bug:

We should still fix it for NVDA, I updated the desc to not close the issue

@mj12albert
mj12albert merged commit c07b8a3 into mui:master Feb 26, 2026
7 checks passed
@mj12albert
mj12albert deleted the fix/progress-meter-label branch February 26, 2026 12:35
beynar added a commit to beynar/entasis that referenced this pull request Oct 18, 2026
…ty country search, presentational meter label

Review findings for lane B7:
- DF-16: a focused ScrollArea viewport whose content stops overflowing keeps its
  role, name and tabindex="-1" until it blurs, so the browser no longer drops
  focus to <body>.
- DF-26: the Meter label rendered inside the meter is role="presentation",
  completing the NVDA workaround (mui/base-ui#4200, nvda#16204).
- SC-1: the PhoneInput country search reports aria-expanded="false" while the
  listbox is hidden for an empty search.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: meter Changes related to the meter component. component: progress Changes related to the progress component.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants