-
Notifications
You must be signed in to change notification settings - Fork 983
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
When we navigate to "Auto Size" dropdown using the up/down arrow keys, it is getting auto selected without hitting ENTER key:A11y_ A11y_.NET CoreWinforms_On Focus. #12031
Comments
We will need to fix this in .NET 10 since we don't have time to make it in .NET 9. We should work with the Accessibility team to get this added to an accessibility plan allowing us to fix it in .NET 10. I don't think there's enough benefit to warrant servicing .NET 9 unless we get customer requests. Need to ask about GitHub tags in Office Hours today. |
@Zheng-Li01 can you confirm this is the same behavior across all of the "combo boxes" in the PropertyGrid? I will be filing AccessibilityPlan for the .NET WinForms PropertyGrid and a second one for VS. The .NET one will need to be addressed in .NET 10 and cover at least the ComboBoxe types of TypeEditors that we own. The VS plan will be separate. |
@merriemcgaw, go throughed all of the "combo boxes" in the PropertyGrid for Form, Lable, Button, ToolStrip, GroupBox etc. controls. the issue only can reproduce on Auto Size property, not reproduce on other properties. |
@Zheng-Li01 can you see if it repros on a custom PropertyGrid with a bool type of property in it? |
Not reproduce on a custom PropertyGrid with a bool type of property in it as below screenshot. |
@LeafShi1 can you please go ahead and fix this issue? We will create another issue to track improving the keyboard usability of the PropertyGrid as a feature for .NET 10. |
The following properties also have this issue:
|
@Zheng-Li01 @LeafShi1 @merriemcgaw I'm not sure if the way described in the bug is the est way to navigate type editor with the keyboard.
I think that when navigating with the keyboard, a more convenient sequence is, I would like to understand the rule this UI is violating better. I see
here - https://www.w3.org/TR/WCAG21/#predictable But ours is not the case of getting focus, the edit box received focus on TAB(step 3), on arrow we changed the value. |
After the change, we can still press the up and down keys on the edit box to change the value. The whole operation process is some linkage behavior, and it does not cause context change. |
@merriemcgaw - do you agree with #A11ySev2; assessment? Keyboard user does not have to open the drop down at all to perform these changes. |
@Tanya-Solyanik yeah, I do. This is an example of the type of thing the SMEs were worried about us needing to fix. The value shouldn't be committed until the user takes action to hit enter or leave the field, IMO. |
@LeafShi1 Could you please provide the environment to verify the issue?. Thanks! |
The issue has been verified in the latest .NET 10 SDK build: .NET 10.0.100-alpha.1.24556.12 and is now resolved. The value is no longer being auto selected, and focus is maintained when using the up/down arrow keys, both when opening the dropdown or without doing so. DropDownFix.mp4 |
@Syareel-Sukeri Can you please give the environment link |
@AnKushSingh05 You can access the Accessibility-Core-App and .NET 10 for testing from this link: https://microsoft-my.sharepoint.com/:f:/p/v-smdsukeri/EmvP63iKbZBOq0Mwe4LY8uEBBfIjniIzd3ma660aVSp17w?e=Ahd0vc. Let me know if you cannot access it. |
Verified the issue in .NET 10 SDK build: .NET 10.0.100-alpha.1.24556.12 |
.NET version
dotnet-sdk-9.0.100-preview.5.24258.1
Did it work in .NET Framework?
.NET Framework and the InProc designer work the same as .NET+OOP designer
Did it work in any of the earlier releases of .NET Core or .NET 5+?
No response
Issue description
GitHub Tags:
#A11yMAS; #A11yTCS; #A11ySev2; #BM_.NET Core[Winforms]_Win32_May2024; #.NETCore; #WCAG3.2.1; #DesktopApp; #Win11;#keyboard;#On Focus;#Closed;
Environment Details:
App name: .NET Core Winforms
Window Version: Win 11
OS Build: 22621.3085
Screen readers: Narrator, NVDA 2023.3.3
Repro Steps:
Actual Result:
When we navigate to "Auto Size" dropdown using the up/down arrow keys, it is getting auto selected without hitting ENTER key
Expected Results:
When we navigate to "Auto Size" dropdown using the up/down arrow keys it should be selected after hitting ENTER key.
User Impact:
User who relies on keyboard will face difficulty as they might select the control which they did not intent.
Attachment
Bug_12031_On.Focus.mp4
The text was updated successfully, but these errors were encountered: