The ALT problem and Handicap Guidelines

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
jack_indigo
Forum Contributor
Posts: 186
Joined: Sun Jun 08, 2008 11:25 pm

The ALT problem and Handicap Guidelines

Post by jack_indigo »

You may have read this checklist if you're an XHTML Strict person:

http://www.w3.org/TR/WCAG10/full-checklist.html

Well, one of the problems I have is the ALT parameter on images. In some web browsers, the ALT is interpreted as a tooltip, which completely sucks because let's say you don't want to display tooltips on your images. So, for now, I've been doing ALT="". So, I'm in a Catch-22 here. What do you recommend?
User avatar
Sindarin
Forum Regular
Posts: 521
Joined: Tue Sep 25, 2007 8:36 am
Location: Greece

Re: The ALT problem and Handicap Guidelines

Post by Sindarin »

Yes Internet Explorer shows a blank tooltip if the alt attribute is blank. Use a blank title attribute like this,

Code: Select all

<img src="myimage.png" alt="" title="" />
then the tooltip won't show up at all.

Funny how a 1x1 spacer.gif image should be accessible to visually impaired people while other people won't see it at all. Maybe it's time to revise these screen readers... :D
Post Reply