Re: [css3-images] [Fwd: RE: CSS Image Values and Replaced Content Module Level 3 - very brief review]

On Wed, Mar 14, 2012 at 3:34 PM, James Nurthen <james.nurthen@oracle.com> wrote:
> On 3/14/2012 2:31 PM, Tab Atkins Jr. wrote:
>>>
>>> 4. Gradients
>>>
>>> It should probably be stated that gradients can cause subtle issues with
>>> maintaining a sufficient luminosity contrast ratio between the text and
>>> its
>>> background. (an informative note about making sure to meet WCAG2 1.4.3 is
>>> probably good)
>>
>> How is this any different from the generic situation with background
>> colors/images and contrast?  I haven't added anything about this.
>
> The biggest difference between generic colors and the other scenarios
> (images / gradients / rgba colors) is the difficulty in measuring the ratio
> to determine if you have sufficient contrast. With rgb colors it is trivial
> to determine if you have sufficient contrast. With the others there is no
> automated way to measure the ratio.

My point was that this advice seems to be generic to all images, and
has nothing to do with gradients in particular.  If it's appropriate
to add this disclaimer here, then we should also add it to element(),
and to every other method we come up with for producing images behind
text in all of CSS.

In other words, I think this sort of warning is already covered by the
generic "make sure your text and background have sufficient contrast"
advice from WCAG.

~TJ

Received on Wednesday, 14 March 2012 23:01:15 UTC