| Tuesday, June 25, 2002 |
|
Roll your own IM-bot. WiredBots: simple toolkits for making AIM and MSN Messenger IM bots. Link Discuss [Boing Boing Blog] 9:23:15 AM |
|
Day 12: Using color safely.
This tip is a general rule that applies to many areas of web design, but I will focus on a specific example that is common among weblogs: link text. There are two potential problems related to color. First, your link text may not contrast sufficiently with your background color. Any very light color on a white background is trouble; the link text may simply disappear into the background. Similarly, a dark color on a black background is trouble. This actually applies to all text, not just links, but it's fairly common on weblogs for text to be readable and links to be made unintentionally unreadable, which is why I mention links in particular. The second potential problem is the link decoration. If your CSS redefines a rule to make your links a different color, you need to make sure that the links are also distinguishable in some other way, like bold, italic, or underline. Otherwise, the link text might be perfectly readable, but colorblind people won't be able to tell that it's a link. This is illustrated below. Who benefits?
There are several forms of colorblindness; the most common form, red-green colorblindness, affects about 8% of American men. Although Michael's achromatopsia is an extreme and relatively rare form of colorblindness, the above example would also affect anyone with the more common red-green colorblindness. How to do itTo check for "sufficient contrast" between your text color and background color, use VisCheck to simulate what your web page looks like to a colorblind reader. To check for link decoration problems, look at your CSS rules for "
You can keep your links red, but you need to make sure that the links are also bold, or underlined, or italicized. To make them bold as well as red, add one line:
Further reading
9:21:47 AM |

