Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #35572
| Subject | Re: Finding a real background color of an element |
|---|---|
| Newsgroups | comp.lang.javascript |
| References | (9 earlier) <bJTkD.11352$MJ2.3180@fx12.iad> <aa1b1c8b-7df7-4750-b11f-c84dfa50be9b@googlegroups.com> <84a2c5e5-af01-4f7b-8446-c0073478dbfc@googlegroups.com> <MsUkD.46170$VM2.7343@fx04.iad> <0eb7b8cb-7788-46f3-9881-4a5da5c119a2@googlegroups.com> |
| From | Richard Damon <Richard@Damon-Family.org> |
| Message-ID | <gDXkD.6374$uJ2.5135@fx27.iad> (permalink) |
| Organization | Forte - www.forteinc.com |
| Date | 2018-09-08 17:59 -0400 |
On 9/8/18 2:31 PM, Julio Di Egidio wrote: > On Saturday, 8 September 2018 20:23:45 UTC+2, Richard Damon wrote: >> On 9/8/18 1:44 PM, Julio Di Egidio wrote: >>> On Saturday, 8 September 2018 19:43:15 UTC+2, Julio Di Egidio wrote: >>>> On Saturday, 8 September 2018 19:33:01 UTC+2, Richard Damon wrote: >>>>> On 9/5/18 1:48 AM, Julio Di Egidio wrote: >>>> <snip> >>>>>> E.g. consider again (*) which says *it's fine if both are not defined*: if >>>>>> there is an issue there, it's with the standard, not with the linters. Then >>>>>> consider also that the issue (if any) is with the very approach that is taken >>>>>> in that standard, the underlying philosophy so to speak, not just with one or >>>>>> two specific choices. >>>>>> >>>>>> (*) <https://www.w3.org/TR/WCAG20-TECHS/G148.html> >>>>> >>>>> My reading of that page is that it is ok to specify NEITHER of the >>>>> foreground and background, and thus let the user set them to something >>>>> suitable for them, or you need to specify BOTH, so that you can make >>>>> sure that you set them to something with sufficient visibility. >>>>> >>>>> Setting just one of the colors says that you can not be sure you have >>>>> sufficient contrast, and that condition would be good to detect and warn >>>>> about. >>>> >>>> And I of course agree with your reading... >>> >>> P.S. "Both are not" <=> "Neither is", in case that was the doubt. >> >> The issue is that some people may try to parse "Both are not defined" as >> more like "it is not the case that both are defined" (which means >> something very different). (!A) & (!B) vs !(A&B) > > Are you complaining that my English is worse than I thought? Yet, you know > that fool-proof is fool in itself, don't you? > > Some people should try and get their head out of their ass for a change. > > Good evening, > > Julio > No complaints about your English, just pointing out that SOME people may try to interpret that phrase differently, and that can lead to the sort of issue that was being talked about. Asking about getting the 'default background color' is a red flag, as it should never matter. If you are setting the foreground color, you should have set the background color, and thus not need to worry about the 'default' Yes, if you could query this you could perhaps choose to theme your page based on it, but then that really should be a very top level decision, and after determining their 'default' you still set it in case you got something wrong.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Finding a real background color of an element Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2018-08-21 19:40 +0200
Re: Finding a real background color of an element "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2018-08-21 21:14 -0700
Re: Finding a real background color of an element JJ <jj4public@vfemail.net> - 2018-08-22 14:32 +0700
Re: Finding a real background color of an element Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2018-08-22 19:01 +0200
Re: Finding a real background color of an element Julio Di Egidio <julio@diegidio.name> - 2018-08-22 11:37 -0700
Re: Finding a real background color of an element Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2018-08-23 07:52 +0200
Re: Finding a real background color of an element Julio Di Egidio <julio@diegidio.name> - 2018-08-23 04:54 -0700
Re: Finding a real background color of an element Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2018-08-24 19:09 +0200
Re: Finding a real background color of an element Julio Di Egidio <julio@diegidio.name> - 2018-09-03 03:55 -0700
Re: Finding a real background color of an element Julio Di Egidio <julio@diegidio.name> - 2018-09-03 04:28 -0700
Re: Finding a real background color of an element Julio Di Egidio <julio@diegidio.name> - 2018-09-03 05:09 -0700
Re: Finding a real background color of an element "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2018-09-02 12:40 -0700
Re: Finding a real background color of an element Julio Di Egidio <julio@diegidio.name> - 2018-09-03 03:51 -0700
Re: Finding a real background color of an element Julio Di Egidio <julio@diegidio.name> - 2018-09-03 03:55 -0700
Re: Finding a real background color of an element Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2018-09-04 18:52 +0200
Re: Finding a real background color of an element Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2018-08-29 22:12 +0200
Re: Finding a real background color of an element Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2018-08-31 22:30 +0200
Re: Finding a real background color of an element Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2018-09-02 05:09 +0200
Re: Finding a real background color of an element Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2018-09-02 19:57 +0200
Re: Finding a real background color of an element Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2018-09-03 15:09 +0200
Re: Finding a real background color of an element Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2018-09-04 19:02 +0200
Re: Finding a real background color of an element Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2018-09-04 22:15 +0200
Re: Finding a real background color of an element Julio Di Egidio <julio@diegidio.name> - 2018-09-04 22:48 -0700
Re: Finding a real background color of an element Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2018-09-08 15:39 +0200
Re: Finding a real background color of an element Julio Di Egidio <julio@diegidio.name> - 2018-09-08 06:57 -0700
Re: Finding a real background color of an element Richard Damon <Richard@Damon-Family.org> - 2018-09-08 13:32 -0400
Re: Finding a real background color of an element Julio Di Egidio <julio@diegidio.name> - 2018-09-08 10:43 -0700
Re: Finding a real background color of an element Julio Di Egidio <julio@diegidio.name> - 2018-09-08 10:44 -0700
Re: Finding a real background color of an element Richard Damon <Richard@Damon-Family.org> - 2018-09-08 14:23 -0400
Re: Finding a real background color of an element Julio Di Egidio <julio@diegidio.name> - 2018-09-08 11:31 -0700
Re: Finding a real background color of an element Richard Damon <Richard@Damon-Family.org> - 2018-09-08 17:59 -0400
Re: Finding a real background color of an element Silvio <silvio@internet.com> - 2018-09-04 22:05 +0200
csiph-web