Where are my ALT tooltips in Firefox
I was wondering why Firefox doesn't show tooltips when you use the
alt attribute in
img tags like IE does. Turns out IE should not be displaying alt messages in tooltips, the
title attribute is designed for that.
But don't stop using the
alt attribute, thats required for accessibility. So your best bet is to include both an alt attribute, and a title attribute in your img tags if you want a tooltip. IE will show the title attribute value in the tooltip.
People say that displaying alt text in a tooltip is a bug in IE, but I would rather call it a feature!
Like this? Follow me ↯Tweet Follow @pfreitag
Where are my ALT tooltips in Firefox was first published on March 11, 2005.