This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ALT tags and the <textobject>


To ensure the accessibility of my HTML, I want to provide ALT tags for my
imageobjects. I've looked through the archives, and the advice I keep
seeing is "use the textobject" tag. Unfortunately, when I use something
like this:

<mediaobject>
      <imageobject>
            <imagedata fileref= "picture.png">
      </imageobject>
      <textobject>
            <para>Description of picture<para>
      </textobject>
</mediaobject>

the resulting HTML page contains the image, followed by a link labeled
'[D]', which connects to a separate HTML page containing the phrase
"Description of the picture."

I'm processing XSL 1.55.0 with the latest xsltproc.

Am I missing something obvious, or do I need to start writing a new
customization to turn the <textobject> into an actual ALT tag?

Dennis Grace

Information Developer
IBM Linux Technology Center
(512) 838-3937  T/L 678-3937  cell: (512)-296-7830
dgrace@us.ibm.com

There are only 10 kinds of people in the world: those who understand binary
and those who don't.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]