[publican-list] [Bug 556691] Alt text of an image displays chapter title and not that of the textobject tag

bugzilla at redhat.com bugzilla at redhat.com
Wed Jan 20 01:40:22 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=556691

--- Comment #5 from Jeff Fearn <jfearn at redhat.com> 2010-01-19 20:40:20 EST ---
(In reply to comment #4)
> Hey Jeff, 
> 
> I know I'm confused so I was wondering if you could help me understand a bit
> better (because I am having an issue with the alt tag stuff in maven but for
> different reasons and understanding more might help me solve both the maven and
> publican issue on my end).
> 
> This is the figure information that is in the file that is attached:
> 
> <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>
> 
> To me it looks like the title attribute for the image is set, is there a
> different title attribute I should be looking in to?

Hi Isaac, if you check the HTML output you will see that it contains something
like:

<img src="images/figu-Beginners_Guide-Visual_Web_Tools-Visual_Page_Editor.png"
alt="The Visual Page Editor, showing both the source and a visual preview
simultaneously." width="444">

The IMG alt tag is set correctly. If you disable images this alt text will be
displayed. If you use a reader for the blind this text will be spoken.

The display you are talking about is not alt text, it is tool tip text. The
tool tip text would need to be set by adding another attribute, title, to the
IMG output. Basically the display you are talking about would require
duplicating the content of alt in the title attribute.

There is nothing in the DocBook XSL to set the title attribute in the IMG tag,
so we'd have to add this functionality.

Cheers, Jeff.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the publican-list mailing list