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

A11y_.NET Core_WinForms_Print_Preference_Keyboard: Keyboard focus is incorrect/illogical after pressing ENTER key on "Cancel" button which is present in "Print Preference" pop up. #9203

Closed
HindujaArugula opened this issue May 31, 2023 · 6 comments
Assignees
Labels
a11y-external An accessibility bug that is external to WinForms (for example, a Common Dialog in Win32) a11y-resolved Ready for official tester to validate and close tenet-accessibility MAS violation, UIA issue; problems with accessibility standards

Comments

@HindujaArugula
Copy link

HindujaArugula commented May 31, 2023

.NET version

.NET-SDK-8.0.100-preview.4.23260.5

Did it work in .NET Framework?

No

Did it work in any of the earlier releases of .NET Core or .NET 5+?

No response

Issue description

GitHubTags:

#A11yMAS;#A11yTCS;#WCAG2.4.3;#BM_.NET Core[Winforms]-Win32-May2023;#.NET Core;#A11ySev2;#DesktopApp;#Win11;#NonBenchmark;#Keyboard

Actual:

Keyboard focus is incorrect/illogical after pressing ENTER key on "Cancel" button present in the "Print Preference" pop up where keyboard focus is shifting to "Let the app change my printing preferences" checkbox after pressing ENTER key.

Expected:

Keyboard focus is incorrect/illogical after pressing ENTER key on "Cancel" button present in the "Print Preference" pop up where keyboard focus should not move "Let the app change my printing preferences" checkbox after pressing ENTER key and it should remain on the "More Setting" button.

User Impact:

Keyboard users will not be able to understand focus order after activating the "Cancel" button and it will be confusing if focus shifts to "Let the app change my printing preferences" checkbox.

Attachments:

Keyboard

Steps to reproduce

  1. Install and Open "Winforms" App.
  2. "Main Form" screen would appear.
  3. TAB to "Printing_Controls:Testing" the controls under Printing Tab and press ENTER key.
  4. Now 'Printing Testing" screen appears.
  5. TAB to "Print" button and click on it.
  6. Now "Print from Win 32 application- Print" appears
  7. TAB to "More Settings" button and press ENTER key.
    8."Printing Preference" Screen appears.
  8. Now observe that after pressing ENTER key on "Cancel" button keyboard focus shifts to "Let the app change my printing preferences" checkbox which is illogical/incorrect.
@HindujaArugula HindujaArugula added the untriaged The team needs to look at this issue in the next triage label May 31, 2023
@12-shweta
Copy link

12-shweta commented Jun 2, 2023

#BM_.NET Core[Winforms]-Win32-May2023;

@MelonWang1
Copy link
Contributor

MelonWang1 commented Jun 7, 2023

This issue also repro in .NET 8.0/7.0/6.0/5.0/3.1 and .NET Framework on win11 22H2. When click "More settings", the keyboard already focus on"Let the app change my printing preferences" checkbox, so when cancel the "Printing Preference" Screen, keyboard focus on"Let the app change my printing preferences" checkbox.

NVDA/Inspect/Narrtor/Accessibility Insights also have same behavior.

This issue similar to 1505993, In comments, @merriemcgaw said this is a legacy UI dialog and owned by Windows. Bug Exception 94484: WinForms OpenFileDialog calls an inaccessible Win32 API - Boards (visualstudio.com)

@merriemcgaw merriemcgaw added the tenet-accessibility MAS violation, UIA issue; problems with accessibility standards label Jun 13, 2023
@merriemcgaw
Copy link
Member

Thanks @MelonWang1 I'm going to see if this can be under the exception you linked here!

@merriemcgaw merriemcgaw added a11y-resolved Ready for official tester to validate and close a11y-external An accessibility bug that is external to WinForms (for example, a Common Dialog in Win32) and removed untriaged The team needs to look at this issue in the next triage labels Jun 13, 2023
@merriemcgaw merriemcgaw self-assigned this Jun 13, 2023
@merriemcgaw
Copy link
Member

The exception for legacy printing dialogs has been approved. @HindujaArugula can you please close this out?

@merriemcgaw
Copy link
Member

#Closed

based on approved exception.

@merriemcgaw merriemcgaw closed this as not planned Won't fix, can't repro, duplicate, stale Sep 7, 2023
@12-shweta
Copy link

#Closed;

@ghost ghost locked as resolved and limited conversation to collaborators Oct 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a11y-external An accessibility bug that is external to WinForms (for example, a Common Dialog in Win32) a11y-resolved Ready for official tester to validate and close tenet-accessibility MAS violation, UIA issue; problems with accessibility standards
Projects
None yet
Development

No branches or pull requests

4 participants