Skip to content

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

Closed

Description

@Zheng-Li01

.NET version

.NET SDK 10.0.100-alpha.1.24556.12

Did it work in .NET Framework?

Yes

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

No, also repro in previous versions

Issue description

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

Win11 Results:
Image

Win10 results:
Image

Framework results:
Image

Steps to reproduce

  1. Use attached application:
    RepoApplication.zip
  2. Set windows to different HC themes
  3. build and run application
  4. Obserrve the text "Document does not contain any pages" in printPreviewControl by using Accessibility Insight tools.

Activity

  1. added
    tenet-accessibility
    untriaged
    on Nov 7, 2024
  2. removed
    untriaged
    on Nov 7, 2024
  3. added this to the 10.0 Preview1 milestone on Nov 7, 2024
  4. added
    🚧 work in progress
    on Nov 8, 2024
  5. Zheng-Li01 commented on Nov 21, 2024

    @Zheng-Li01
    MemberAuthor

    Verified the issue on latest .NET SDK 10.0.100-alpha.1.24570.21, the issue has been fixed on both Windows 11 and Windows 10 as below screenshot.
    Windows11:
    Image
    Windows10:
    Image

  6. chaowendy commented on Dec 5, 2024

    @chaowendy
    Contributor

    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.

  7. Nora-Zhou01 commented on Dec 11, 2024

    @Nora-Zhou01
    Contributor

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

  8. locked and limited conversation to collaborators on Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

🚧 work in progresstenet-accessibility

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions