E-mail List Archives
Re: Hiding Legends
From: Moore, Michael
Date: Oct 16, 2008 12:50PM
- Next message: Jukka K. Korpela: "Re: Hiding Legends"
- Previous message: Jared Smith: "Re: Hiding Legends"
- Next message in Thread: Jukka K. Korpela: "Re: Hiding Legends"
- Previous message in Thread: Jared Smith: "Re: Hiding Legends"
- View all messages in this Thread
If I understand Dean correctly, he is employing image replacement to
provide a text alternative for a legend that is provided to visual users
through an image that is delivered through CSS.
Here are the problems that I see with that and most other image
1. If for some reason, bandwidth, aggressive add blocking, or a missing
file, the CSS file but not the image is delivered to the user, the text
2. If the user is using a screen magnifier, browser magnification, or
operating system magnification, it is very likely that the image of text
will be unreadable due to pixilation. This can be mitigated with SFIR
but at a cost of complex implementation and bandwidth.
3. If the user requires a larger font size, the content delivered
through the image will not be enlarged with the rest of the text.
4. Frequently, though perhaps not in this context, color and contrast
are an issue within text delivered as an image.
The picture that Dean may be missing is that accessibility is not
synonymous with screen reader compatibility. This is a very common
misconception, and understandable since many of us use a screen reader
as one of our testing or demonstration tools.
My opinion is that images should only be used to deliver text in limited
circumstances. Acceptable examples: Logo's, advertising slogans, and in
limited circumstances navigation bars and headings. In all cases the
images should be tested to ensure that they do not become seriously
pixilated under moderate magnification, I test at 5X, the font should be
at least 2X the size of the body text on the page, and the contrast
ratio should be at least 5:1 between the foreground and background of
the image. I realize that frequently the company logo will not meet this
requirement and is non-negotiable, I also feel that alt="" is usually
appropriate for the logo anyway.
When placing an image of text on a page as a background using CSS, the
first question that you need to ask yourself is "Self, would my client,
his customer, or I care if that image was missing?" If your answer is
no, what the heck, drop it in. Otherwise use real text (preferred) or an
image with an alt attribute that delivers the text.