[Accessibility] The text "Document does not contain any pages" in printPreviewControl has low color contrast
.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:
Steps to reproduce
Repro steps:
- Create a Winforms .NET application
- Add printPreviewControl from toolBox to form designer
- Build and run
- Use AccessibilityInsight tool to detect the text's color contrast in printPreviewControl
We will consider servicing this to NET9 if we get customer requests.
Verified this issue in the latest .NET 10.0 SDK build: 10.0.100 - alpha.1.24556.12, it was fixed as following:
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.
Verified it in the .NET 9.0.1 servicing test pass, this issue was fixed with the same results as above.