Re: [csswg-drafts] [mediaqueries-5] Remove (prefers-contrast) as a boolean, and replaced by a new color reduction media query (#6036)

@cookiecrook There is already a `no-preference` value for `prefers-contrast.` The intention of `middle` would be for users who have a contrast preference that is neither `more` or `less`. (It would not match if forced colors mode or any other contrast preference were not enabled).

Currently, it would only be possible to match `middle` in Windows High Contrast Mode, but adding a `middle` value would allow extensibility for any hypothetical features that may allow a contrast preference that falls in the middle range in the future.

And adding `middle` would be different than adding back `forced` since `forced` matched in forced colors mode, no matter what the contrast ratio was, whereas `middle` would only match for forced color schemes with ratios between `more` and `less`.

-- 
GitHub Notification of comment by alisonmaher
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6036#issuecomment-853436187 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 2 June 2021 23:00:35 UTC