Re: use of alt attributes in decorative images

please don't use the word picture in a title for an image.  we already
know it is an image.

----- Original Message -----
From: "Kynn Bartlett" <>
To: "Frank Tobin" <>
Cc: <>
Sent: January 24, 2001 8:14 PM
Subject: Re: use of alt attributes in decorative images

At 02:08 PM 1/24/2001 , Frank Tobin wrote:
>Some images in xhtml documents are there merely for presentational
>purposes;  they have no semantic or navigational meaning whatsoever.
>example, they can be used to add to the "feel" of the site.  Is it
>appropriate to give these images a non-empty alt descrition?

They should have ALT="" if they are -purely- visual decoration.
You can use TITLE="Picture of a bird on a branch" or the
LONGDESC attribute if you need to add further explanation to these

>Should the
>alt describe the image, or should it only describe it only if the
>description of the image would flow within the surrounding content
>structure of the document?

The latter -- in an ideal case, ALT text should be constructed so
that if viewing it in Lynx or hearing it on a screenreader, the
interface seems "natural" and not a version obviously derivative
of the graphical version.

>Would somehow using CSS be a better approach to embedding these
>presentational-only images?

Yes, in general.  In practice this is harder than it sounds!  It is
hard to make it work well across all browsers, plus CSS doesn't
offer the ability to embed meta-information (such as ALT, TITLE,
LONGDESC) where appropriate.


Kynn Bartlett  <>      
Technical Developer Relations, Reef 
Chief Technologist, Idyll Mountain Internet
Contributor, Special Ed. Using XHTML
Unofficial Section 508 Checklist

Received on Thursday, 25 January 2001 09:21:12 UTC