- Joined
- Jun 18, 2007
- Messages
- 65,865
- Likes received
- 32,666
- Thanks received
- 10,047
- Location
- Your local branch
How is it a bug?
You said yourself that if the title tag is there, IE displays it.
EDIT:
Just read the link you posted and nowhere in the specification for alt text does is say that the alt text attribute should not be used as a title if the title is not present.
Nowhere does it say that alt text should be used for tooltips if the title attribute is absent, either - in fact, nothing whatsoever even remotely suggests that it is appropriate to display alt text in a tooltip.
As Ardesco points out, this means that if you want to have meaningful alt text (for its intended purpose of providing information to users of assistive technologies) but do not want a tooltip (as it would be redundant and irritating for normal users) then you have to explicitly include an empty title attribute. Every other browser gets this right: only a title attribute with a non-whitespace value will cause a tooltip to appear.
Note that IE also fails to adequately display alt text when an image is absent, instead using a Netscape-Navigator-3-style "broken image" icon with maybe a couple of characters of the alt text squeezed in next to it. Proper browsers, on the other hand, even allow you to apply CSS to alt text, so that if (say) the user has disabled images, the alt text can be displayed in an aesthetically satisfactory way.
#4 NickFitz. Many thanks chappy - I'd used the alt and title attributes previously without ever realising the difference. Your post cleared it all up for me. Brilliant!
NP. It's amazing what you can find out by reading the specs rather than using Microsoft products






