So what resources are available to help us choose a color scheme? After just 15 minutes of browsing I’m ready to throw my teddy out of the pram and yell for mama, there’s just too much information out there!
Okay, Let’s start by reading the following:
Guideline 2.1 of the Web Content Accessibility Guidelines 1.0:
Ensure that all information conveyed with color is also available without color, for example from context or markup.
I’m not sure how to put that into practise yet but let’s move on to Guideline 2.2 of the same document which states that we need to:
Ensure that text and graphics are understandable when viewed without color.
If color alone is used to convey information, people who cannot differentiate between certain colors and users with devices that have non-color or non-visual displays will not receive the information. When foreground and background colors are too close to the same hue, they may not provide sufficient contrast when viewed using monochrome displays or by people with different types of color deficits.
Okay, so how can we check that the colours we use as the basis for a new scheme follow the above guidelines?
There’s more:
Use numbers, not names, for colors.
Use these CSS properties to specify colors:
- ‘color’, for foreground text color.
- ‘background-color’, for background colors.
- ‘border-color’, ‘outline-color’ for border colors.
- For link colors, refer to the :link, :visited, and :active pseudo-classes.
Ensure that foreground and background colors contrast well. If specifying a foreground color, always specify a background color as well (and vice versa).
Right, let’s take these one by one:
- Use numbers, not names, for colors.
Check. The default css provided with this template [link now invalid] contains no named colours such as H1 {color: red}.
- Use these CSS properties to specify colors
Okay on the background-color but I need to change the link colors. Now, can I go back to using the highlight style links of the previous layout, an example of which is here? I’m thinking that as long as the color contrast is strong enough, I should be okay but if you know differerently, please shout out.
Hmm, as I write this I’m aware that I might be breaking all sorts of rules about alternative descriptions, text descriptions of all graphics but forgive me for a while. There’s only so much this brain can hold at any one time. As far as I know, the TypePad interface [see example here] for uploading pictures and other files does not contain any option for including such markup so I’ll need to edit each one manually (not a problem!) but let’s get the color issues resolved first.
It also occurs to me that I might have to change the way I write about links. Until today I would have written something like:
…using the highlight style links of the previous layout
but I’m not clearly indicating an external link there am? I’m putting this subject off to another day but any advice on that in the meantime would be greatly appreciated.
So it the first (and most easily achieved step) is to ensure a good colour contrast. I’m starting to get rather fond of these template colours but that orange [#FF9900] has to go. Much as I liked the red and gold of yesterday, I’d like to get the pink daisy back in (eagle eyed readers will have spotted that I never quite got round to changing the favicon) but let’s look at what we can find online to help us check that a particular colour scheme has enough contrast – bring on the Colour Contrast Analyser 1.0. I’ve just downloaded the tool (tiny file, no install) and entered in the template colours – here’s a screenshot of the results:
The difference in colour between the two colours is not sufficient. The threshold is 500, and the result of the foreground and background colours is 265.
So – do I lighten the background colour and darken the text colour? That’s okay, I’ve taken up far too much of your time already so I’ll have a play with the colours and report back.
I’m just about to put most of this post in an extended post and again I’m stopping to wonder if that’s a good thing. I’ll carry on doing it until I learn differently.
Summary of topics raised in this post:
- Colour contrast – understood, now to find a good colour scheme and implement it.
- Ensure that all information conveyed with color is also available without color, for example from context or markup – find more information, report back here.
- Writing content so that external links are clearly indicated – to be researched
- Alternative text for graphics – next topic when color/links are sorted
- Extended posts – to be researched
Blimey, and that’s just day one…
[Written while this site was hosted at TypePad.]