W3C home > Mailing lists > Public > public-css-archive@w3.org > April 2019

Re: [csswg-drafts] [various] Holistic review/proposal of color-modifying things (#3807)

From: Dean Jackson via GitHub <sysbot+gh@w3.org>
Date: Wed, 10 Apr 2019 21:15:32 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-481868265-1554930931-sysbot+gh@w3.org>
> @media (inverted-colors: none | inverted) is about the screen-level color inversion accessibility feature (possibly with some re-inversion of images/video). It's a mode in which individual colors can't be independently adjusted; it's akin to a filter:invert() on the document.

To give a bit of history, this was originally offered as an accessibility feature and implemented at the system level - in that apps couldn't opt-out, and didn't even know it was happening unless they queried the system preferences (which I guess technically gave them a way to opt-out by pre-inverting things before they draw).

It was a popular feature, but the main complaint was that inverted images are wrong. So then came "smart invert", where everything was inverted except images and other media

Then we discovered that people would toggle this feature on and off depending on the page content. Basically they wanted either dark or light pages, and prefer to have their choice even if that meant the colours are all weird. So that's where we are today, and led to having a system preference for light/dark.

If the light/dark preference becomes widely adopted, we might not need the invert path any more.

GitHub Notification of comment by grorg
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3807#issuecomment-481868265 using your GitHub account
Received on Wednesday, 10 April 2019 21:15:34 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:46 UTC