Forum Moderators: open
<abbr title="Dictionary of Naval Abbreviations">DICNAVAB</abbr>
IE also incorrectly renders alt attributes as titles.
Safari displays titles in the status bar instead of as a tooltip. Opera 6+ displays both tooltip and status bar text. Netscape 4 displays neither.
I'd suggest you look at whether your aims are:
1. Cross browser tool-tip visibility
2. Old browser tool-tip visibility
3. Search engine help (title attributes don't get much respect so far, but "alt" gets some on linked images)
4. Accessibility for assistive user agents - especially synthesized voice browsers
And then you study your audience and make your decision. There are a lot of factors to weigh in any of the above goals.
To always use both attributes with identical contents is a pretty dicey practice, in my opinion. It adds to the page's file size with minimal pay-off and may aggravate some users.
But in specific spots, where a tool tip may be very useful for your users, then I would make an exception and do both. Having said that, a tool-tip is nevertheless a bad place for essential information most of the time. It's appearance on screen is temporary, easily missed, and not uniformly implemented.
[edited by: tedster at 1:02 am (utc) on Dec. 21, 2003]
acronym {border-bottom: 1px dashed #beefed; cursor: help; }
I've been using both title's and alts lately because a lot of browsers won't display the alts if the image loads. I make the alt a short 2-3 word replacement description and the let the title convey a little extra info.
Adam
<link href="monkey.css" rel="stylesheet" type="text/css" media="screen" />
<style TYPE="text/css">
<!--
body {margin: 1px; padding: 0px; }
a {text-decoration: underline; }
a:hover {color: #ff0000; background: #ffff00;
text-decoration: underline; }
-->
</STYLE>