Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Document of Record API Generate Accessibility Tags

Avatar

Level 4

Hello,

 

I am referring to the API to generate the Document of Record:

https://experienceleague.adobe.com/docs/experience-manager-learn/forms/adaptive-forms/document-of-re...

https://helpx.adobe.com/experience-manager/6-4/forms/javadocs/index.html?com/adobe/aemds/guide/addon...

 

From the linked tutorial, the DoR is able to be generated, but the resulting PDF does not have accessibility tags. I am checking the DoROptions class, and there is no method to add accessibility tags to the DoR. I wanted to confirm if adding accessibility tags is possible with this class, or if there is another option I am missing.

 

Also, in the "Generate non-interactive PDF" workflow step, there is an option to add Accessibility tags in the parameters tab. Which API is this workflow step using?

4 Replies

Avatar

Employee Advisor

@techddx 

Did you enable accessibility for the form template used for creating the DoR? You can do that using Designer and reuse that custom template - https://helpx.adobe.com/content/dam/help/en/experience-manager/6-5/forms/pdf/using-designer.pdf

 

Response to the second question: "Generate non-interactive PDF" workflow step uses Output service that merges XML data with an XDP file to generate non-interactive documents.

Avatar

Level 4

Hi @Pulkit_Jain_, thank you for your help. Are you referring to the "Form Properties" when opening the XDP in Designer? The option to generate accessibility tags is greyed out. Please see screenshot.

 

techddx_0-1623165623594.png

 

Avatar

Level 4

Following up on this, is there a way to programmatically create accessibility tags in a generated document of record?

Avatar

Employee Advisor

@techddx 

Sharing this update for posterity: Now it's possible to generate accessibility tags for a Document of Record. 

With SP13, you can set a global XCI[0] to enable tagging and create an accessible DoR.

 

<!-- [0..n] -->
<tagged>1</tagged>
<xdc>
<uri>adobepdf.xdc</uri>
</xdc>

[0] - https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/forms/create-an-ada...