- From: James Craig via GitHub <sysbot+gh@w3.org>
- Date: Tue, 11 Aug 2020 20:19:31 +0000
- To: public-css-archive@w3.org
> In general, the "true" boolean match for the prefers-* MQs isn't a particularly useful value, only the "false" match is. I don't agree that this could never be useful. There's a lot of opportunity to have the boolean match a minimum simple preference while leaving an opening for more specific values. I haven't pushed for the more specific values yet because MQ would need to address anti-fingerprinting security before the more specific values should be implemented. For example, iOS is already shipping two variants of a native "reduce motion" setting that differentiates between pans (e.g. automatic side scrolls between screens) and other types of problematic vestibular motion like parallax and scale/zoom. The interface pans often convey a hierarchy. Other, more decorative animations are usually more extraneous, and often more problematic for those with vestibular disorders. One could see a future expansion of `prefers-*` to one or more optional variants, making the boolean match most useful for authors. ```css prefers-reduced-motion: no-preference | [ reduce | [exclude-parallax &| exclude-scale &| … ] prefers-reduced-opacity: no-preference | [ reduce | opaque ] prefers-(increased)-contrast: no-preference | [ increase | max ] prefers-color-scheme: light | dark | forced ``` -- GitHub Notification of comment by cookiecrook Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2943#issuecomment-672258524 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 11 August 2020 20:19:32 UTC