[xep-support] Role attribute not becoming alt text for images in PDF

From: Anderson, Paul <Paul.Anderson@compuware.com>
Date: Wed Jul 22 2009 - 14:54:41 PDT

Greetings All,

We're using the ENABLE_ACCESSIBILITY=true core option to try and make
our PDFs Section 508 compliant. When I initially enabled this option,
the XEP output messages include the following warning:

WARNING: Some images lack alternate desription; 'No alternate
description specified' will be used for these images.

I read in the XEP User Guide about using the role attribute on the
fo:external-graphic elements to pass alt text to the PDF. I adjusted our
xsl:fo to include appropriate role attributes, for example:

<fo:external-graphic content-height="100%"
                     content-width="scale-to-fit"
                     role="Product architecture diagram"
                     scaling="uniform"
                     src="url(product_architecture.png) "
                     width="100%"/>

Now when I generate a PDF, I no longer see the warning about the lack of
alternate descriptions. However, when I open the PDF in Acrobat Pro and
run the Accessibility Checker, it reports that none of the images have
alternate text. If I open the properties on the image objects, the alt
text field contains no data.

Is this broken or am I missing some detail?

FYI, I'm using XEP 4.16 and Acrobat 9 Pro version 9.1.2. My
configuration options are as follows:

    <options>
        <option name="LICENSE" value="license.xml" />
        <option name="TMPDIR" value="none" />
        <option name="BROKENIMAGE" value="images/404.gif" />
        <option name="LOGO" value="images/logo-renderx.svg" />
        <option name="ENABLE_ACCESSIBILITY" value="true" />
        <option name="VALIDATE" value="true"/>
        <option name="FOOTNOTE_REORDERING" value="true"/>

        <!-- Backend options -->
        <generator-options format="PDF">
            <option name="COMPRESS" value="true" />
            <option name="OWNERPASSWORD" value="zzzzzzzz" />
            <option name="USERPASSWORD" value="" />
            <option name="USERPRIVILEGES" value="print,copy" />
            <option name="PDF_VERSION" value="1.4" />
            <option name="LINEARIZE" value="true"/>
              <option name="DROP_UNUSED_DESTINATIONS" value="false"/>
        </generator-options>
    </options>

Thank you for your help.

Best regards,

Paul Anderson
Information Developer - Codex Administrator
Compuware Corporation
The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Wed Jul 22 15:32:44 2009

This archive was generated by hypermail 2.1.8 : Wed Jul 22 2009 - 15:32:51 PDT