Thursday, February 5, 2009

Text Issues

Typography and word choice are both important things to pay attention to when crafting your pages with accessibility in mind. It's also key to remember the differences between looking at text on a computer screen and in traditional print mediums like newspapers, books or glossy magazines and circulars.

As far as meaning, you want to make sure that your title has significance and properly defines what your page is about. It will show in title bars and tabs, so it should be concise. It will be read aloud by a screen reader, indicating the content of the page. If it says something generic like "Home Page", the user may be confused about where he/she is.

It's smart to use simple punctuation characters like pipe and dash that don't take too long for screen readers to pronounce. It must get boring to hear "semicolon" again and again...

Serif fonts are often used for body text in traditional media forms. The flourishes on the letters are thought to aid readability. However, serifs don't translate so well to the Web. They can look blocky or unclear. You want to format most web-page text with sans-serif fonts.

You want to plan to have an adequate amount of spacing between lines. Line-spacing increases vertical white space. It's a good idea to have both your text elements and the line-spacing defined in relative proportions. You can have ratios relative to the body text. When that text size varies with browser or user settings or what-have-you, the other text settings will increase or decrease proportionately, maintaining the overall look you've designed. Some defined text size formats like pixels don't allow users to alter them in certain browsers (like IE)--so watch out with those and do your homework if you want to use them. You definitely want some padding to provide space between elements so that the eye and mind can differentiate between them. Overlapping items are a no-go for screen readers. Bottom margins can provide some needed space between text.

You also want sufficient contrast between your background and foreground, but not necessarily too much. The common black and white scheme for text can be a little challenging. Play with various color schemes, and you may want to test your choices in the Color Contrast Analyzer. You may also want use WCAG's recommended luminosity ratio (5:1, or greater for larger-scale text). There are other organizations with standards for difference in brightness and color recommendations.

One of the most important rules for text is to be consistent--and this is not new to the Web. It just involves drilling down further and dividing your tasks. Marking up your text divisions logically, clearly and semantically (and applying styles effectively and regularly) helps your copy be perceived the way you intended. Above are some of the best ways to keep your page's logical organization intact.

No comments:

Post a Comment