1 Reply Latest reply on Oct 30, 2017 8:40 AM by Bouton.Jones

    How do I create an accessible PDF with ColdFusion 11


      This is about as mission critical as it gets in the US Federal World. PDFs generated by ColdFusion must be section 508 compliant. It looks like the biggest issue is tagged content. Has anyone successfully generated a tagged pdf in ColdFusion 11???

        • 1. Re: How do I create an accessible PDF with ColdFusion 11

          This questions is three years old but it deserves a response.


          There are currently two tags for converting HTML to PDF.  CFdocument and CFHTMLtoPDF.


          CFdocument will not generate a tagged PDF.  Adobe doesn't plan on fixing that.


          CFHTMLtoPDF was introduced in ColdFusion 11.  It generates a tagged PDF --- except the image descriptions (ALT attribute values) are not being exported to the PDF.  As of this reply the Adobe intends to fix that in the next release.


          Assuming you've migrated to CF 11 or later, one option is to use CFHTMLtoPDF but avoid using images.  If images must be included, you might caption the images with plain text (in the manner of newspapers or news magazine) and use the aria-describedby and id attrbutes to anchor the captions to the images.


          I hope this suggestion helps someone.