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] Autocomplete/autocorrect has no feedback after correction - worse for screenreaders #10698

Closed
kylane opened this issue Oct 17, 2023 · 2 comments
Labels
accessibility a11y component: pickers This is the name of the generic UI component, not the React module! duplicate This issue or pull request already exists

Comments

@kylane
Copy link

kylane commented Oct 17, 2023

Steps to reproduce

Link to live example: (required)
Use any example with a format dd/mm/yyyy or mm/dd/yyyy

Steps:

  1. type "22" for the month
  2. it is autocorrected to 02 - making it valid with no feedback to the user
  3. screen readers read the input "two.. two.." but dont give any feedback to the user that it was changed

This could really post some legal issue as the input is being mutated on the fly with no feedback to the user - and is worse for screen readers as it doesnt provide any advise that its autocorrected their input.

Current behavior

Typing "22" into the month field (which would be an invalid input) is autocorrected to "02" and is considered a valid input.

Expected behavior

Typing 22 into the month field would trigger a validation error, offering advice on what was wrong, and what was expected.

Context

I am trying to make it usable for people with screen readers, or arent touch typers and cant monitor the input as its being handled (instantly) by the component.

Your environment

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Search keywords: datepicker autocomplete

@kylane kylane added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Oct 17, 2023
@LukasTy
Copy link
Member

LukasTy commented Oct 17, 2023

@kylane Thank you for opening this issue! 👍
We are aware of this issue and are investigating the best solution to take in this regard.
We already have an issue to provide proper a11y support on fields: #6384
Also, there is an open RFC listing the compromises that might come with striving for better a11y support. 🙈 #10699

I'm closing this issue as a duplicate due to the existing #6384.
Feel free to follow the mentioned issue to be notified about the progress.

@LukasTy LukasTy closed this as not planned Won't fix, can't repro, duplicate, stale Oct 17, 2023
@LukasTy LukasTy added duplicate This issue or pull request already exists accessibility a11y component: pickers This is the name of the generic UI component, not the React module! and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Oct 17, 2023
@LukasTy LukasTy changed the title [x-date-pickers] Autocomplete/autocorrect has no feedback after correction - worse for screenreaders [pickers] Autocomplete/autocorrect has no feedback after correction - worse for screenreaders Oct 17, 2023
@kylane
Copy link
Author

kylane commented Oct 17, 2023

@kylane Thank you for opening this issue! 👍 We are aware of this issue and are investigating the best solution to take in this regard. We already have an issue to provide proper a11y support on fields: #6384 Also, there is an open RFC listing the compromises that might come with striving for better a11y support. 🙈 #10699

I'm closing this issue as a duplicate due to the existing #6384. Feel free to follow the mentioned issue to be notified about the progress.

Thanks Lucas. Will be following, but feel free to reach our if I can help.

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! duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants