-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Screen reader: Inconsistent reading of validation errors across field types #13245
Comments
@v-kusudh This doesn't repro - as you can see in the output below, Narrator says "Alert B is not an allowed option" You might try turning scan mode off (scan mode has known problems) |
Hi @aneeshack4 , Thank you for the reply. The bug is in the above screen, we can see couple of error i.e. Actual behavior: Expected behavior: |
@v-kusudh @ecraig12345 The "Oh no..." part does get read out when the down arrow is pressed... |
The difference here is that the TextField error is read immediately, but the ComboBox error is only read on down arrow. This is because of implementation differences between the two error messages: TextField reads it as an alert, which is why you hear it right away: fluentui/packages/office-ui-fabric-react/src/components/TextField/TextField.base.tsx Lines 236 to 243 in 387865b
ComboBox reads as fluentui/packages/office-ui-fabric-react/src/components/ComboBox/ComboBox.tsx Lines 491 to 499 in 387865b
For reference, Dropdown is similar to TextField in this respect, reading as an alert: fluentui/packages/office-ui-fabric-react/src/components/Dropdown/Dropdown.base.tsx Lines 352 to 355 in 387865b
I'm not sure which behavior is correct, but definitely all three of these controls ought to use the same behavior for reading errors. (Of our form fields, these are the only ones I found which can display error messages currently.) |
@joschect suggested trying |
Had a partner ping about issues around this lately stating that error messages weren't read with TextField. I'm able to repro those issues with both NVDA and Narrator in the error example here: https://developer.microsoft.com/en-us/fluentui#/controls/web/textfield. Are there still known issues here? Scan/browse mode I can get to them but they are not read out otherwise. |
Hi team, @ecraig12345 could you please share so ETA for this bug, it's impacting our Marketing app compliance. |
Because this reported issue has not had any activity for over 180 days, we're automatically closing it for house-keeping reasons. Still require assistance? Please, create a new issue with up-to date details and latest version of Fluent. |
Screen Reader: Narrator
Repro Link : https://codepen.io/Sudheesh_Kumar/pen/XWmoqXq?editors=1010
Browser Details:
OS: Windows 10 (Version 1909, Build: 18363.778)
Microsoft Edge Dev Version 84.0.495.2 (Official build) dev (64-bit)
Office-ui-fabric-react : "~6.162.1"
Repro Steps:
Actual Result:
Narrator/NVDA is not reading all the error instructions that are coming for required errors, instead just reading only one error for twice
Expected Result:
Narrator/NVDA should read all the error instructions that are coming for required fields
The text was updated successfully, but these errors were encountered: