tracker issue : CF-3818467

select a category, or use search below
(searches all categories and all time range)

cfdocument format=pdf and cfhtmltopdf doesn't pass the adobe acrobat pro 508 complience check.

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/Duplicate

Reporter/Name(from Bugbase): Bad Duck / Bad Duck (badduck)

Created: 09/04/2014

Components: Document Management, PDF Generation (CFHTML2PDF)

Versions: 11.0

Failure Type: Usability Issue

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Major / All users will encounter

Locale/System: English / Win 2008 Server R2 64 bit

Vote Count: 1

Duplicate ID:	CF-3734792

Related Bugs:
CF-3041212 - Similar to

Problem Description:
cfdocument format=pdf and cfhtmltopdf doesn't pass the adobe acrobat pro 508 complience check. The pdf generator is stripping out alt attributes in images and creating images from bullet points without alt attributes.

Steps to Reproduce:
Please refer to Adobe Case # : [Platinum] : 181492502 : CFdocument issue I created a simple test page then run the page and save the pdf.:<cfdocument format="PDF" backgroundvisible="yes" fontembed="true"><img src="images/cl_logo.jpg" alt="ACF logo"></cfdocument> In Acrobat Pro run the 508 Report. (Advanced --> Accessibility --> Full Check)See errors for no language and missing alt attributes.

Actual Result:

Expected Result:

Any Workarounds:

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3818467

External Customer Info:
External Company:  
External Customer Name: badduck
External Customer Email:  
External Test Config: My Hardware and Environment details:



Please refer to previous bug ID: CF-3041212
Comment by External U.
11142 | September 04, 2014 07:34:37 AM GMT
Definitely a +1. Please address as soon as possible.
Vote by External U.
11147 | September 04, 2014 06:16:04 PM GMT
This issue got fixed for cfhtmltopdf as part of bug This fix will be available with the upcoming update of ColdFusion 11. NOTE: This issue will not be fixed for CFDocument.
Comment by Nimit S.
11143 | September 05, 2014 12:43:30 PM GMT
I'm sorry to report that the Accessibilityissue has not been completely fixed in cfhtmltopdf. The cfhtmltopdf tag strips the alternative descriptions of images from accessible HTML when converting it to PDF. Here's how I came to that conclussion. 1. I started with properly tagged accessible HTML 5 page: o properly nested header tags o list tags o alt attributes with descriptions for both images used o language specified in the body tag 2. I wrapped the HTML 5 inside a CFHTMLtoPDF tag set: <cfhtmltopdf encryption="AES_128" language="English" permissions="AllowScreenReaders" saveAsName="cfHTMLtoPDF-test"> <!DOCTYPE html /> <html lang="en-US"> <head> <meta charset="UTF-8" /> .... <body ... lang="en-US" ...> .... <img src="CFHTMLtoPDF-Test.gif" width="794" height="100" border="0" alt="CFHTMLtoPDF Test" /> .... <p><img src="adobe-icon-small.jpg" width="82" height="25" border="0" alt="Small Adobe Icon" /></p> .... </html> </cfhtmltopdf> 3. A friend placed the template on a CF 11 Windows Enterprise environment, ran it, and sent me the resulting PDF. 4. I ran the accessibility report in Adobe Acrobat and it found the following error: 2 image(s) with no alternate text 5. I tried accessing the PDF in the JAWS and NVDA screen reader. JAWS: o correctly identified the headings o correctly identified the lists o ignored the descriptions in the ALT attribute NVDA: o correctly identified the headings o did NOT recognize the lists o skipped the images entirely. So the alternative descriptions failed in the Adobe Acrobat accessibility test, the JAWS screen reader, and the NVDA screen reader. In addition the ARIA header landmark covered over part of the main landmark below it.
Comment by Bouton J.
11144 | October 02, 2017 10:56:59 PM GMT
Hi Bouton, The issue with alt-text in accessibility with cfhtmltopdf is a known one. We will be fixing this with the next release Thanks, Kailash
Comment by Kailash B.
11145 | October 03, 2017 06:04:27 AM GMT
Great! Thanks.
Comment by Bouton J.
11146 | October 03, 2017 07:34:58 PM GMT