Null or empty ALT attribute?

For graphic text elements or images I understand the relevance of Alt text. But what about such things as backgrounds and transparent spacing elements. I do not want to hear ‘Background colour 1’ or "Spacer. gif’ or ‘red thingymajig’ being read out aloud by a screen reader.

I have read of two options. The first I have no problem with - use CSS and place the image as a background. The second refers to a null attribute " " or empty ‘’‘’ .If I just enter one of these into the alt text box in the inspector will it work? Or do I have to select the image and go into the extended window and enter something like name:alt - value “”

Richard


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

If you don’t have any text in the Alt Text box (not empty quotes, just
literally nothing) then Freeway will output the empty alt attribute
for you. And if your image is below a certain threshold size, Freeway
will always output an empty alt attribute unless you tell it
otherwise. Freeway always outputs an alt attribute on every placed
foreground image – it’s required for valid (X)HTML. It’s just not
required to have any value.

Walter

On Feb 24, 2011, at 8:05 AM, Richard Lowther wrote:

For graphic text elements or images I understand the relevance of
Alt text. But what about such things as backgrounds and transparent
spacing elements. I do not want to hear ‘Background colour 1’ or
"Spacer. gif’ or ‘red thingymajig’ being read out aloud by a screen
reader.

I have read of two options. The first I have no problem with - use
CSS and place the image as a background. The second refers to a
null attribute " " or empty ‘’‘’ .If I just enter one of these
into the alt text box in the inspector will it work? Or do I have
to select the image and go into the extended window and enter
something like name:alt - value “”

Richard


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks Walter - Did not expect it to be so simple but glad it is.

Richard


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options