I second the motion. I've run into this elsewhere. As it turns out, according to the W3C standard, the alt attribute (not tag) is for alternate viewing methods (such as for PDAs or for voice-synthesis output for blind people). As such, it's not supposed to be displayed when you hover the mouse over it. Microsoft, in their infinite wisdom, of course chooses to ignore the standard, and displays it anyway.
Mozilla gets it right, and doesn't display the text. And it does display the contents of title attributes. They weren't joking when they said that Mozilla would be a standards-compliant browser. I have therefore submitted a patch to add title attribute to img elements, as well as the alt attribute.
The only debate now is whether people think it's a good idea for pop-up text to appear when you hover the mouse over an image, or not. I'm all for it, but I don't mind if it's decided that it's not worth it.
So, what do people think about this?
print@_{sort keys %_},$/if%_=split//,'= & *a?b:e\f/h^h!j+n,o@o;r$s-t%t#u'
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.