Quote:
|
Originally Posted by purk
since firefox seems to ignore the alt attribute but both IE and FF are ok with the title attribute I changed all my alts to titles [...]
|
Just to clarify, because a lot of people have the same misconception...
The ALT attribute is there for the use of alternate text for an image. This is used either when viewing a site with a text browser (i.e.: lynx) or when images fail to load. Some time back, MS and IE decided to make ALT text display on tooltips. However, this is not the original purpose or intent of the ALT attribute.
That's what the TITLE attribute is for.
Firefox isn't ignoring the ALT text, it's just not displaying the tooltip because that's not what the tag was meant to do.
|