Skip to content

Brightness contrast of the control boundary line is less than 3:1 #3322

Closed

Description

@Jessie-Zhang01
  • .NET Core Version: .Net Core 5.0.100-preview.6.20270.51

  • Have you experienced this same bug with .NET Framework?:
    Yes

Related test scenarios:

  • The contrast of control default status(non-focused, unselected).

    • Affected controls:
      • Button
      • ComboBox(DropDownStyle = DropDownList)
      • TooStrip(ProgressBar, Button)
      • DataGridView(Inner boundary line)
      • PropertyGrid
      • RichTextBox
      • ProgressBar
      • DomainUpDown
      • GroupBox
      • NumericUpDown
      • MonthCanlendar
      • StatusStrip
      • TabControl
  • The contrast of control focused, unselected status.

    • Affected controls:
      • ContextMenuStrip
      • MenuStrip
      • ToolStrip (Button)
  • The contrast of control focused, selected status.

    • Affected controls:
      • CheckedListBox
      • ComboBox(DropDownStyle = DropDownList)
      • ListBox
      • ListView
      • TreeView

Minimal repro:

  1. Install the Accessibility Insights from https://accessibilityinsights.io/en/downloads.
  2. Create a winforms core project.
  3. Add a control in the Form designer, build and run this project.
  4. Open the Accessibility Insights and select the Contrast of the directory on the left.
  5. Click on the color picker under Color1 and focus it to the border lines of the control.
  6. Click on the color picker under Color2 and focus it to the background of the control.

Expected behavior:
The brightness contrast of the control boundary line should be greater than 3:1.

Actual behavior:
Brightness contrast of the control boundary line is less than 3:1.
image

Activity

  1. wjk commented on May 23, 2020

    @wjk
    Contributor

    I don't think we can do much to change this. These graphics are supplied by uxtheme.dll, which is a part of Windows. The underlying system cannot be changed or extended by anyone outside the Windows team. (That being said, if a High Contrast theme is being used, the bitmaps will change to follow the accessibility tenets of that mode, so there is that.)

  2. added
    a11y-MAS
    tenet-accessibility
    on May 28, 2020
  3. added this to the 5.0 milestone on May 28, 2020
  4. modified the milestones: 5.0, 6.0 on Sep 1, 2020
  5. removed
    a11y-MAS
    on Sep 25, 2020
  6. merriemcgaw commented on Sep 25, 2020

    @merriemcgaw
    Contributor

    Removing accessibility tags as conversation with @guybark indicates that our controls don't need to meet that boundary requirement because they are rather easy to figure out on their own.

  7. merriemcgaw commented on Sep 28, 2020

    @merriemcgaw
    Contributor

    I didn't know if we wanted to keep this open to evaluate as we look at the theming work we're considering.

  8. modified the milestones: 6.0, 7.0 on Aug 27, 2021
  9. modified the milestones: .NET 7.0, .NET 8.0 on Aug 15, 2022
  10. ghost removed this from the .NET 8.0 milestone on Jul 18, 2023
  11. ghost locked as resolved and limited conversation to collaborators on Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-Themingtenet-accessibility

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions