Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pickers] Fix aria-labelledby assignment to dialog #7608

Merged
merged 24 commits into from
Jan 26, 2023

Conversation

LukasTy
Copy link
Member

@LukasTy LukasTy commented Jan 18, 2023

Fixes #5632

Explicitly pass aria-labelledby referencing toolbar or text field label if toolbar is hidden

  • support mobile pickers
  • handle case when both label and toolbar are hidden
  • support mobile range picker
  • support desktop pickers
  • add test coverage

P.S. Desktop range pickers currently don't need similar changes, because they only support interaction through input element—the dialog is not being focused.

@LukasTy LukasTy added accessibility a11y component: pickers This is the name of the generic UI component, not the React module! labels Jan 18, 2023
@LukasTy LukasTy self-assigned this Jan 18, 2023
@mui-bot
Copy link

mui-bot commented Jan 18, 2023

Messages
📖 Netlify deploy preview: https://deploy-preview-7608--material-ui-x.netlify.app/

These are the results for the performance tests:

Test case Unit Min Max Median Mean σ
Filter 100k rows ms 703.7 1,094.5 703.7 913.82 152.071
Sort 100k rows ms 719.5 1,319.4 1,319.4 1,107.9 225.712
Select 100k rows ms 157.7 358.2 265.3 259 66.748
Deselect 100k rows ms 187.1 263 206.2 214.98 28.042

Generated by 🚫 dangerJS against a7de910

@LukasTy LukasTy marked this pull request as ready for review January 18, 2023 23:27
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Jan 19, 2023
@github-actions
Copy link

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

@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Jan 19, 2023
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Jan 20, 2023
@github-actions
Copy link

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

@github-actions github-actions bot added PR: out-of-date The pull request has merge conflicts and can't be merged and removed PR: out-of-date The pull request has merge conflicts and can't be merged labels Jan 21, 2023
@github-actions
Copy link

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

@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Jan 25, 2023
Co-authored-by: Alexandre Fauquette <[email protected]>
Signed-off-by: Lukas <[email protected]>
@LukasTy LukasTy changed the title [pickers] Fix aria-labelledby assignment [pickers] Fix aria-labelledby assignment to dialog Jan 26, 2023
@LukasTy LukasTy merged commit bcbb19c into mui:next Jan 26, 2023
@LukasTy LukasTy deleted the fix-pickers-aria-labelledby branch January 26, 2023 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility a11y component: pickers This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[MobileDatePicker] Broken ARIA reference
5 participants