Uploaded image for project: 'Maven Changes Plugin'
  1. Maven Changes Plugin
  2. MCHANGES-228

Changes report does not have <title> tags for action type images, so tips do not display in many browsers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.4
    • None
    • changes.xml
    • 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

          Activity

            People

              Unassigned Unassigned
              sebb Sebb
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: