Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Exported PDF Accessibilty

New Here ,
Nov 29, 2022 Nov 29, 2022

I'm using InDesign 2023 and exporting PDFs using ExtendScript. The resulting PDFs pass all of the accesibilty checks except Page Content >> Tab order for pages. I know I can fix this manually in Acrobat by going to Page Properties >> Tab Order >> Use Document Structure, but I am generating hundreds of of PDF files. How can I set Tab Order >> Use Document Structure in ExtendScript? 

 

I have tried using TaggedPDFPreference.structureOrder set to both TaggedPDFStructureOrderOptions.USE_ARTICLES and TaggedPDFStructureOrderOptions.USE_XML_STRUCTURE, but this does not seem to resolve the issue. Any pointers or solutions would be appreciated.

TOPICS
Import and export , Scripting
526
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Nov 29, 2022 Nov 29, 2022

Yeah, that specific  tab-order is only set when interactive pdf is used on export, in any print pdf export that one has to be done in Acrobat.

 

Translate
Community Expert ,
Nov 29, 2022 Nov 29, 2022

Perhaps a dumb question, but do you have Create Tagged PDF enabled in your pdf export preferences (or as part of a preset or via ES)? 

brianp311_0-1669739198837.png

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 29, 2022 Nov 29, 2022

I have it set as in a preset.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 29, 2022 Nov 29, 2022

Yeah, that specific  tab-order is only set when interactive pdf is used on export, in any print pdf export that one has to be done in Acrobat.

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 29, 2022 Nov 29, 2022

Thanks for your reply. So, maybe my question is different than I initially thought. When exportFile with ExportFormat.INTERACTIVE_PDF, my resulting PDF is not tagged with InDesign 2023 even though tagged is specified in the preset. How would I set the tab order for interactive and is there a way to specify interactive in the preset?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 29, 2022 Nov 29, 2022
LATEST

I marked correct because this answer pointed me in the right direction.

 

I use the code below: 

 

//Set PDF to use structure for tab order

with ( app.interactivePDFExportPreferences )

{

usePDFStructureForTabOrder = true;

includeStructure = true;

}

//Save interactive

rcDoc.exportFile(ExportFormat.INTERACTIVE_PDF, File(fname + fileVersionSuffix + ".pdf"), false, MyExportFormat) ;

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines