- From: Florens Verschelde via GitHub <sysbot+gh@w3.org>
- Date: Sun, 25 Mar 2018 15:01:30 +0000
- To: public-css-archive@w3.org
I would like to suggest a `prefers-high-contrast` query, set by the UA either with a dedicated preference or by inheriting the OS accessibility settings (when relevant). My main use case would be site designs that are expected to use a brand color which has bad contrast (when contrasted with a white background or white text). Switching the brand color with a more accessible one would be more acceptable to site owners if done for users who specifically requested it. Currently, websites with this use case either don’t address the issue, or offer in-site controls like on sncf.com: <img width="412" alt="Screenshot of accessibility controls on sncf.com" src="https://user-images.githubusercontent.com/243601/37876536-fc121844-304d-11e8-9417-7d9179071949.png"> Options in this example are: > Contrast: default | stronger | inverted > Animations: enabled | disabled -- GitHub Notification of comment by fvsch Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1286#issuecomment-375976958 using your GitHub account
Received on Sunday, 25 March 2018 15:01:32 UTC