WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Another Color Contrast question

for

From: Patrick H. Lauke
Date: Oct 2, 2014 6:24PM


On 03/10/2014 01:08, Andrew Kirkpatrick wrote:
> WCAG's requirements for contrast are for text and images of text.
> Text is defined as "sequence of characters that can be
> programmatically determined, where the sequence is expressing
> something in human language".
>
> The line mentioning making icons and line drawings was inserted (as I
> recall it) just as a reminder that while contrast applies to text and
> images of text, it is worth thinking about contrast for any
> information that people need to consume.

So, if I may be so bold as to expand on what I think Andrew hints at
here (and/or to give my own take): if you just care about "does it meet
the exact letter of WCAG 2.0", then sure, you could say that contrast
ratio SCs don't apply; but if you actually care about the ability of
users to perceive your buttons (particularly if your buttons use just
these icons, and not an icon + text combo), then you probably want to
make sure that your icon's foreground/background color choices do at
least make a good attempt at coming to 4.5:1 ratio or better...

P
--
Patrick H. Lauke

www.splintered.co.uk | https://github.com/patrickhlauke
http://flickr.com/photos/redux/ | http://redux.deviantart.com
twitter: @patrick_h_lauke | skype: patrick_h_lauke