Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #35567

Re: Finding a real background color of an element

Subject Re: Finding a real background color of an element
Newsgroups comp.lang.javascript
References (4 earlier) <pmh8ao$1nnh$1@csiph.com> <1799156.3UefHMCHME@PointedEars.de> <pmmdqb$38p$1@csiph.com> <3ef40966-81b3-84fd-596f-6b08e1e36af8@PointedEars.de> <c70278d5-9ef2-4402-99f3-84eb336ed19f@googlegroups.com>
From Richard Damon <Richard@Damon-Family.org>
Message-ID <bJTkD.11352$MJ2.3180@fx12.iad> (permalink)
Organization Forte - www.forteinc.com
Date 2018-09-08 13:32 -0400

Show all headers | View raw


On 9/5/18 1:48 AM, Julio Di Egidio wrote:
> On Tuesday, 4 September 2018 22:15:54 UTC+2, Thomas 'PointedEars' Lahn  wrote:
>> Cezary Tomczyk wrote:
> <snip>
>>> I think Julio's right by saying that not defined explicitly background 
>>> for body is an issue and that is something I will raise in the ASLint.
>>
>> Yes.
> 
> Thanks guys, I am touched...  :)
> 
> But, seriously, I'd take some caution with that: not per chance it was born as
> a *guideline*, plus I have warned that it's *not technically tractable*, not
> only because it's subjective in inception, but also because pages are not in
> fact static.  OTOH, that's the reference and that's what any linter should
> take into account...
> 
> 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>
> 
> Julio
> 

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.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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