- From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
- Date: Mon, 01 May 2017 09:50:51 +0000
- To: public-css-archive@w3.org
Not sure even that would help. For instance, OS X (at the system level) has two settings that work on boosting contrast: one that works at the pixel level, and one that is more content aware. The one that's content aware also adds (in the native UI at least) borders around things. If the high contrast pair of foreground/background colors that a web author picks accidentally makes the background match the border, you may accidentally be making things worse. Also, I don't think it is useful for an author to react to content having been put in high contrast mode by putting content in high contrast mode, since it's already been done. Either the author needs to do it because there's a request to do so but the UA hasn't done anything itself, or because the author knows that a particular way to boost contrast gives undesirable side effects with their content, and want to remedy that problem, in which case they need to know what adjustment has been made. Here are a few things we may want: 1. have colors been forcibly inverted at the pixel level (if yes, authors should do things like double-inverting images and removing shadows) (see https://drafts.csswg.org/mediaqueries-5/#inverted) 2. has contrast been forcibly boosted at the pixel level without inversion (if yes, authors should do what???) 3. Is the UA enforcing a content-aware color scheme (light-on-dark, dark-on-light...), or content-aware contrast-boosting measures other than the color scheme (think solid borders, sans-serif fonts, different styles of native components or focus hightlights) 4. Is the UA doing nothing particular, but suggesting (based on a user preference) that the author does the sort of things described in 3 5. Do we want to give authors a property that lets them disable UA-provided content-aware contrast boosts on a particular element, so that they can provide it themselves in a way that is more appropriate for their content? (like https://msdn.microsoft.com/en-us/library/windows/apps/hh441137.aspx) 6. Does this interact with https://drafts.csswg.org/mediaqueries-5/#light-level, and if yes, how? -- GitHub Notification of comment by frivoal Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1286#issuecomment-298312779 using your GitHub account
Received on Monday, 1 May 2017 09:50:58 UTC