Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
2.4
-
None
-
None
Description
The HTML generated for a changes report contains <alt> tags for the images, but it also needs <title> tags otherwise the hover text does not appear in many browsers.
Sample of current output:
<tr class="b"><td><img src="images/fix.gif" alt="fix"></td>
How it should look:
<tr class="b"><td><img src="images/fix.gif" alt="fix" title="fix"></td>
I've created a sample HTML page to make it easy to test using a browser:
http://people.apache.org/~sebb/maven/alt_title.html
Only IE displays the alt text; FF, Opera and Chrome don't.
All 4 browsers display the title text.
According to http://www.w3schools.com/tags/tag_IMG.asp
Tip: The alt attribute is meant to be used as an alternative text if the image is not available, not as a mouse-over text. To show a mouse-over text on images or image-maps, use the title attribute, like this: <img src="angry.gif" alt="Angry face" title="Angry face" />
Attachments
Issue Links
- duplicates
-
MCHANGES-115 Add title to type images
- Closed