W3C home > Mailing lists > Public > www-html@w3.org > July 2000

Re: Alt attribute for unimportant images

From: Jan Roland Eriksson <jrexon@newsguy.com>
Date: Tue, 11 Jul 2000 20:53:51 +0200
To: Alf Inge Myhre Tunheim <tunheim@operamail.com>
Cc: www-html@w3.org
Message-ID: <puqmmso7bsfegarmnu4qlrp06qeo4vj6fm@4ax.com>
On Tue, 11 Jul 2000 14:40:16 -0400, Alf Inge Myhre Tunheim
<tunheim@operamail.com> wrote:

>Are there any guidelines about what text string (if any) that should be 
>specified in the alt attribute of images that only have a visual design 
>purpose?

Yes, it's right there in the HTML4.01 specification...

Section "13.8 How to specify alternate text" has this...

  "Do not specify irrelevant alternate text when including
   images intended to format a page, for instance, alt="red ball"
   would be inappropriate for an image that adds a red ball for
   decorating a heading or paragraph. In such cases, the alternate
   text should be the empty string (""). Authors are in any case
   advised to avoid using images to format pages; style sheets
   should be used instead.

   Do not specify meaningless alternate text (e.g., "dummy text").
   Not only will this frustrate users, it will slow down user
   agents that must convert text to speech or braille output."

So the answer to your question would be  ALT=""

-- 
Jan Roland Eriksson <jrexon@newsguy.com>
<URL:http://member.newsguy.com/%7Ejrexon/>
Received on Tuesday, 11 July 2000 14:53:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:43 GMT