Adds the 'prefers-contrast' feature, which lets authors adapt web content to user-selected level of contrast in the OS, such as increased contrast mode on macOS and high contrast mode on Windows. Valid options are 'more', 'less', 'custom', or 'no-preference'.
Motivation
Windows and macOS have support for contrast-related features. This media query will allow for authors to respond to such choices.
Specification
Unknown standards status - check spec link for status
Status in Chromium
Enabled by default
(tracking bug)
Consensus & Standardization
After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.
- In development
- Shipped/Shipping
- Positive
Owners
Search tags
prefers-contrast, contrast, css,Last updated on 2022-02-27