Changes report does not have <title> tags for action type images, so tips do
not display in many browsers
---------------------------------------------------------------------------------------------------------
Key: MCHANGES-228
URL: http://jira.codehaus.org/browse/MCHANGES-228
Project: Maven 2.x Changes Plugin
Issue Type: Bug
Components: changes.xml
Affects Versions: 2.4
Reporter: SebbASF
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:
{code}
<tr class="b"><td><img src="images/fix.gif" alt="fix"></td>
{code}
How it should look:
{code}
<tr class="b"><td><img src="images/fix.gif" alt="fix" title="fix"></td>
{code}
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
{quote}
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" />
{quote}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira