Use <TITLE> for information, not <ALT>
Officially <ALT> is used as text before the picture loads. <TITLE> is for mouse-overs. When I mouse-over an <ALT>-tag in Opera Browser, I won't get a pop-up. <TITLE> is the correct tag to use for all browsers.
Thank you.
display of infos will be changed as of next release
-
Michal commented
@sfussenegger: I am using Opera 10.00, build 1750, on Windows 7.
I've just checked again (using Opera) and found out that the tooltip is being shown too high, about 300 pixels above the info icon. So you are right, this is only an issue in Opera.
-
Adminsfussenegger (Admin, setlist.fm) commented
If your talking about the @Info tag: The browser isn't supposed to show a tooltip at all. We're using a CSS hover effect. Which browser are your using? I've tested all that I've available right now (FF 3.5, IE8, Chrome 3, Safari 4 and Opera 10) and the tooltip is showing as expected in all of the except Opera. Are you guys using Opera? If yes, I think we could agree on "@Info tooltip not working in Opera" as the purpose of this suggestion.
Cheers
-
Michal commented
Gentlemen, first of all, ALT and TITLE are attributes, not tags. IMG is the tag here (or better, an element).
I suppose that the original poster meant putting the contents of @Info to the TITLE attribute, so the browser actually shows a tooltip when I hover mouse over the [i] image. The tooltips should be in the TITLE attribute, not ALT, which is not displayed as a tooltip in anything except Internet Explorer 7 and older. Put it in the TITLE, please. You can leave the same text in the ALT attribute, but if it's supposed to display as a tooltip, it must go inside TITLE.
Thanks.
-
Adminmsparer (Admin, setlist.fm) commented
the <ALT> tag is a required tag for images. and of paramount importance for text based browsers (e.g. screen readers) and we're really having an eye on accessibility - for instance it's possible to use setlist.fm without javascript.
the tooltip some browsers show when hovering over an alt attribute is just nice to have and definitely wasn't the main purpose. but we tried to provide both a <TITLE> and an <ALT> tag whereever possible - we'll have a look into it where it's missing. maybe you could tell us where you've seen it.