Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-5708

JBoss Tools docbook xslt does not allow for alt tags to be rendered correctly

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • None
    • 4.6.0.Final
    • maven
    • None
    • Medium

    Description

      When using the <textobject> tag to house the necessary information of an image for the visually impared who use screenreaders to read our documentation, weird html files are created in the directory where the 'target' folder is generated.

      Here's an example of the xml:

      <figure id="figu-Beginners_Guide-Visual_Web_Tools-Visual_Page_Editor">
      <title>Visual Page Editor</title>
      <mediaobject>
      <imageobject>
      <imagedata fileref="images/figu-Beginners_Guide-Visual_Web_Tools-Visual_Page_Editor.png" format="PNG" width="444" />
      </imageobject>
      <textobject>
      <phrase>
      The Visual Page Editor, showing both the source and a visual preview simultaneously.
      </phrase>
      </textobject>
      </mediaobject>
      </figure>

      When the <textobject> isn't specified (which it doesn't seem to be in other JBoss Tools documentation I've had a look at) the title of the image is used as the alt-text for the image, however a visually impared reader requires more information than this, which is why the <textobject> tag exists. When using the <textobject> tag, the information in it is indeed used as the alt-text for the image, however weird xml files are generated in the output of compiling the book in maven (mvn compile). I have attached a screenshot of these files.

      Each weird html file contains the text of one <textobject> tag, thus there is a weird html file for every <textobject> in the book.

      Attachments

        Activity

          People

            OChikvina OLga Chikvina (Inactive)
            irooskov Isaac Rooskov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: