Skip to content

[Feature Request] High contrast support #21515

@Jesse205

Description

@Jesse205

Problem to solve

The high contrast ratio can make it clearer for the user.

Proposed solution

When High Contrast is on:
All buttons and list items in the elevated, flat, and tonal variants are automatically changed to outlined.
If activated, the color will be changed to system colors automatically.
The card component uses the outlined variant anyway.

Links:

https://developer.mozilla.org/en-US/docs/Web/CSS/@media/forced-colors
https://developer.mozilla.org/en-US/docs/Web/CSS/system-color
https://support.microsoft.com/en-us/microsoft-edge/accessibility-features-in-microsoft-edge-4c696192-338e-9465-b2cd-bd9b698ad19a

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions