Skip to content

fix 12441 [Accessibility] HC themes: The color contrast is less than 4.5:1 for the text "Document does not contain any pages" in printPreviewControl - #12448

Merged
Epica3055 merged 3 commits into
dotnet:mainfrom
Epica3055:Fix_12441
Nov 14, 2024

Conversation

@Epica3055

@Epica3055 Epica3055 commented Nov 8, 2024 •

Copy link
Copy Markdown
Member

Fixes #12441

Proposed changes

  • change back color and fore color

Screenshots

Before

Image

After

image
image
image
image
image

Test methodology

  • manually accessibility insights
Microsoft Reviewers: Open in CodeFlow

…4.5:1 for the text "Document does not contain any pages" in printPreviewControl
@Epica3055
Epica3055 requested a review from a team as a code owner November 8, 2024 08:57

@LeafShi1 LeafShi1 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!The test case ShowPrintPreviewControl_BackColorIsCorrect need to be updated.

@codecov

codecov Bot commented Nov 11, 2024 •

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 72.72727% with 6 lines in your changes missing coverage. Please review.

Project coverage is 75.72402%. Comparing base (ef16383) to head (f7fb8e8).
Report is 22 commits behind head on main.

Additional details and impacted files
@@                 Coverage Diff                  @@
##                main      #12448          +/-   ##
====================================================
+ Coverage   49.22637%   75.72402%   +26.49764%     
====================================================
  Files           1990        3152        +1162     
  Lines         283986      635719      +351733     
  Branches       41710       46972        +5262     
====================================================
+ Hits          139796      481392      +341596     
- Misses        141496      150899        +9403     
- Partials        2694        3428         +734     
Flag Coverage Δ
Debug 75.72402% <72.72727%> (+26.49764%) ⬆️
integration 18.28256% <0.00000%> (+0.02124%) ⬆️
production 49.29249% <14.28571%> (+0.06611%) ⬆️
test 97.05035% <100.00000%> (?)
unit 46.22712% <14.28571%> (+0.02096%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@Tanya-Solyanik Tanya-Solyanik added waiting-author-feedback The team requires more information from the author waiting-for-testing The PR is awaiting manual testing by the primary team; no action is yet required from the author(s) labels Nov 12, 2024
@dotnet-policy-service dotnet-policy-service Bot removed the waiting-author-feedback The team requires more information from the author label Nov 12, 2024
@Olina-Zhang

Copy link
Copy Markdown
Member

Tested this PR fixing all HC modes on Windows 10 and 11, issue was fixed with no new issue found.

@Olina-Zhang Olina-Zhang removed the waiting-for-testing The PR is awaiting manual testing by the primary team; no action is yet required from the author(s) label Nov 12, 2024
@LeafShi1 LeafShi1 added the waiting-review This item is waiting on review by one or more members of team label Nov 12, 2024
@Tanya-Solyanik

Copy link
Copy Markdown
Contributor

Please backport it to release/9.0

@Tanya-Solyanik Tanya-Solyanik removed the waiting-review This item is waiting on review by one or more members of team label Nov 13, 2024
@Epica3055
Epica3055 merged commit af49f16 into dotnet:main Nov 14, 2024
@dotnet-policy-service dotnet-policy-service Bot added this to the 10.0 Preview1 milestone Nov 14, 2024
Epica3055 added a commit to Epica3055/winforms that referenced this pull request Nov 14, 2024
…4.5:1 for the text "Document does not contain any pages" in printPreviewControl (dotnet#12448)

* fix 12441 [Accessibility] HC themes: The color contrast is less than 4.5:1 for the text "Document does not contain any pages" in printPreviewControl

* fix unit tests

* fix comments
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Accessibility] HC themes: The color contrast is less than 4.5:1 for the text "Document does not contain any pages" in printPreviewControl

4 participants