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

Color contrast ratio of focus indicator over 'toolStripSplitButton1' is 1.247:1 which is less than 3:1: A11y_.NET CoreWinforms_StripControls_Toolstripwithmenuitem_NonTextContrast #11450

Open
PoojaNamde opened this issue May 29, 2024 · 4 comments · May be fixed by #11502
Assignees
Labels
a11yMAS High Priority - Accessibility violation of Microsoft Accessibility Standards tenet-accessibility MAS violation, UIA issue; problems with accessibility standards
Milestone

Comments

@PoojaNamde
Copy link

PoojaNamde commented May 29, 2024

.NET version

dotnet-sdk-9.0.100-preview.5.24258.1

Did it work in .NET Framework?

Yes

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; #WCAG1.4.11; #DesktopApp; #Win11; #FTP; #NonTextContrast;

Environment Details:

App name: .NET Core Winforms
Window Version: Win 11
OS Build: 22621.3085

Repro Steps:

  1. Launch the "Accessibility core app".
  2. Main Form screen would appear.
  3. TAB to "MenuToolbars_Controls:Testing the controls under Menu Toolbars Tab" and hit ENTER key.
  4. TAB to StripControls button and hit ENTER key.
  5. TAB to 'toolStripSplitButton1' present at below section of the screen.
  6. Observe the issue.

Actual Result:

Color contrast ratio of focus indicator over 'toolStripSplitButton1' is 1.247:1 which is less than 3:1.

Similar issue is also observed in below scenario:
Issue 1: ToolStripContainer

  1. Launch the "Accessibility core app".
  2. Main Form screen would appear.
  3. TAB to "MenuToolbars_Controls:Testing the controls under Menu Toolbars Tab" and hit ENTER key.
  4. TAB to ToolStripContainer button and hit ENTER key.
  5. TAB to 'toolStripSplitButton2' present at below section of the screen.
  6. Observe that color contrast ratio over "toolStripSplitButton2" is failing.

Issue2: PrintingTesting_PrintPreview:

  1. Launch the "Accessibility core app".
  2. Main Form screen would appear.
  3. TAB to "Printing_Controls:Testing the controls under Printing Tab" and hit ENTER key.
  4. TAB to Preview button and hit ENTER key.
  5. Print Preview Screen would appear.
  6. Navigate to "Zoom" button using TAB key and observe that color contrast ratio over "Zoom" is failing.

Expected Result:

Color contrast ratio of focus indicator over 'toolStripSplitButton1' should be greater than or equal to 3:1

User Impact:

Low vision users will not be able to identify where the focus is and will not be able to interact with the control.

Attachment

11450_A11y_ NET CoreWinforms_StripControls_Toolstripwithmenuitem_NonTextContrast

@PoojaNamde PoojaNamde added the untriaged The team needs to look at this issue in the next triage label May 29, 2024
@elachlan elachlan added tenet-accessibility MAS violation, UIA issue; problems with accessibility standards a11yMAS High Priority - Accessibility violation of Microsoft Accessibility Standards labels May 29, 2024
@Yash14j
Copy link

Yash14j commented May 31, 2024

GithubTags:#Rev:yaja;

@Tanya-Solyanik Tanya-Solyanik removed the untriaged The team needs to look at this issue in the next triage label Jun 4, 2024
@merriemcgaw
Copy link
Member

@LeafShi1 can you change the border of all selected ToolStripItems to a solid dark line? Make sure the contrast works in the high contrast themes as well.

@LeafShi1
Copy link
Member

LeafShi1 commented Jun 7, 2024

@Olina-Zhang Can your team help test whether other controls have the same problem?

@Olina-Zhang
Copy link
Member

@Olina-Zhang Can your team help test whether other controls have the same problem?

Other controls haven't this problem.

@merriemcgaw merriemcgaw added this to the 9.0 Preview7 milestone Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11yMAS High Priority - Accessibility violation of Microsoft Accessibility Standards tenet-accessibility MAS violation, UIA issue; problems with accessibility standards
Projects
None yet
8 participants