Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: clearpixel alt texts

by Zoogie (Curate)
on Dec 17, 2001 at 01:02 UTC ( #132396=note: print w/replies, xml ) Need Help??

in reply to clearpixel alt texts

From reading Ovid's post, I think there's a little misunderstanding about Juerd's post. Juerd is referring to the fact that PM's <img> tags for clear pixels have their "alt" attribute set to "clearpixel", which messes up text-only browsers as well as screen readers (this is an issue which pops up every now and then on the Evolt mailing list).

Specifying "" for the alt attribute generally works well, and the W3C seems to think so as well:


  • 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.

- Zoogie

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://132396]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2018-05-23 10:12 GMT
Find Nodes?
    Voting Booth?