fl******@comcas t.net wrote:
I'm wondering whether it's better to leave an alt tag blank (alt="
") or specify something like "alt='space r'" when referring to
objects that merely help the layout of the page?
First, it's an attribute, not a tag.
Second, don't use it without thinking what it means and what it might
help. There's no pointing in giving an advice about this specific
issue. If you need to ask it, you will get most other alt attributes
wrong too, unless you understand the _idea_ of an alt attribute.
It means a textual alternative to the image, to be actually presented
to the user when the image is not presented. Now imagine yourself
sitting in a completely dark room and listening to a speech synthesizer
that reads a page for you, saying for instance
Advertisement
* Spacer
Home
Page
* Spacer
Health
Data
* Spacer
Topics
List
* Spacer
Media
Center
* Spacer
Information
Products
* Spacer
PAHO
Publishing
* Spacer
Knowledge
Resources
Or how about this (no, I'm not making this up):
Spacer graphic
Spacer graphic
Spacer graphic
Spacer graphic Spacer graphic
Spacer graphic Spacer graphic
[EMBED]
Spacer graphic
What could possibly justify using alt="spacer"? How did people ever get
such an idea?
Well, it _can_ get even worse if you are using alt attributes without
the slightest idea or clue:
your image description here
your image description here
your image description here
your image description here
your image description here
your image description here
[LINK] [LINK] [LINK] [LINK] [LINK] [LINK]
your image description here
your image description here
your image description here
your image description here
your image description here
your image description here
[LINK]
[LINK]
[LINK]
[LINK]
[LINK]
[LINK]
your image description here
your image description here
your image description here
Coming Soon
Coming Soon
Coming Soon
(Sorry for long quotations, but they are part of the point. People
really have to listen to [or read] such nonsense, over and over again,
especially since it's often in a navigation area repeated at the start
of each and every page of a site. And the site may proudly present an
accessibility stamp. Bobby approved, or whatever.)
More on alt attributes:
http://www.cs.tut.fi/~jkorpela/html/alt.html
--
Yucca,
http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring:
http://www.cs.tut.fi/~jkorpela/www.html