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

Exported PDF Accessibilty

New Here ,
Nov 29, 2022 Nov 29, 2022

Copy link to clipboard

Copied

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

Views

392

Translate

Translate

Report

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.

 

Votes

Translate

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

Copy link to clipboard

Copied

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

 

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

I have it set as in a preset.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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.

 

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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?

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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) ;

Votes

Translate

Translate

Report

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