-
Notifications
You must be signed in to change notification settings - Fork 992
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
fix #12663 [Accessibility][High Contrast] ToolStrip grip icon colour contrast is less than 4.5:1 in Normal Mode and HC Desert mode #12682
base: main
Are you sure you want to change the base?
Conversation
…olour contrast is less than 4.5:1 in Normal Mode and HC Desert mode
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #12682 +/- ##
===================================================
+ Coverage 76.03484% 76.03546% +0.00061%
===================================================
Files 3180 3181 +1
Lines 639637 639670 +33
Branches 47213 47215 +2
===================================================
+ Hits 486347 486376 +29
- Misses 149773 149781 +8
+ Partials 3517 3513 -4
Flags with carried forward coverage won't be shown. Click here to find out more. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that the ToolStripProfessionalRenderer has been changed. Can you confirm whether this problem also exists in other rendering modes?
Please get this fix tested on Win10 themes. |
This is the code how the winforms/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/VisualStyleRenderer.cs Lines 219 to 235 in 0ce1218
|
@Tanya-Solyanik I have updated the description. |
Fixes #12663
root cause
dot color is not contrasting enough compared to the background color.
Proposed changes
Regression?
Risk
Screenshots
Before
HC Aquatic
HC Desert
HC Dusk
HC Night Sky
After
win11
win10
Test methodology
Microsoft Reviewers: Open in CodeFlow