av8rmike: Futurama's Bender in Jeffries tube, text: I'm done reconfoobling the energymotron (energymotron)

[personal profile] av8rmike 2009-05-21 04:48 pm (UTC)(link)
The "alt=" attribute also provides the tooltip text when mousing over an image.

No, it doesn't. That's the title="" attribute.

[personal profile] dragonwolf 2009-05-21 04:53 pm (UTC)(link)
I stand corrected on that. Thank you.

[personal profile] dragonwolf 2009-05-21 06:14 pm (UTC)(link)
Aha! I knew I wasn't crazy! Internet Explorer will use the alt="" attribute to provide a tooltip text if title="" is not present.

Whether or not it's supposed to is a different story, but in IE, it does.
av8rmike: Firefox logo (firefox)

[personal profile] av8rmike 2009-05-21 06:22 pm (UTC)(link)
In violation of W3C's specs, which is precisely the sort of usage we're trying to discourage here by providing things like "true" ALT attributes on user icons.

[personal profile] dragonwolf 2009-05-21 06:27 pm (UTC)(link)
Indeed, but I knew I had seen it work that way before, even if it's against the W3C specs (and we all know how well IE follows W3C's specs).

If nothing else, it's good to know what browsers have what quirks.