Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

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?

6 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 1

Ciao, come faccio ad abilitare quelle checkbox? Anche a me risultano disabilitate.

 

grazie

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... 

Avatar

Level 4

Is there an example of an .xci file posted anywhere? The document mentions what tags to include, but as far as I can tell doesn't show you how to structure the .xci file.