winforms icon indicating copy to clipboard operation
winforms copied to clipboard

[Accessibility] The text "Document does not contain any pages" in printPreviewControl has low color contrast

Open Olina-Zhang opened this issue 1 year ago • 1 comments

.NET version

.NET SDK 10.0.100-alpha.1.24510.13

Did it work in .NET Framework?

No

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

No, also repro in previous versions

Issue description

The text "Document does not contain any pages" in printPreviewControl has low color contrast: Image

Steps to reproduce

Repro steps:

  1. Create a Winforms .NET application
  2. Add printPreviewControl from toolBox to form designer
  3. Build and run
  4. Use AccessibilityInsight tool to detect the text's color contrast in printPreviewControl

Olina-Zhang avatar Oct 22 '24 06:10 Olina-Zhang

We will consider servicing this to NET9 if we get customer requests.

Tanya-Solyanik avatar Oct 22 '24 23:10 Tanya-Solyanik

Verified this issue in the latest .NET 10.0 SDK build: 10.0.100 - alpha.1.24556.12, it was fixed as following: Image

Nora-Zhou01 avatar Nov 07 '24 07:11 Nora-Zhou01

Verified the issue on latest .NET SDK 9.0.200-preview.0.24575.35 + private dlls built from dotnet/winforms release/9.0 branch, the issue has been fixed. Test result is same as above.

chaowendy avatar Dec 05 '24 06:12 chaowendy

Verified it in the .NET 9.0.1 servicing test pass, this issue was fixed with the same results as above.

Olina-Zhang avatar Dec 11 '24 08:12 Olina-Zhang