I am referring to the API to generate the Document of Record:
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?
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.