Anchored graphic object prevents subsequent paragraphs from being tagged in exported PDF
When exporting a document as a tagged PDF, an anchored graphic object at the end of a paragraph prevents subsequent paragraphs in the same text frame from being included in the PDF tag tree.
The affected paragraphs have correctly assigned paragraph styles with PDF Export Tagging set to P. The text frame is included in an Article, and the text itself is visible in the exported PDF. However, the paragraphs following the anchored object are missing from the PDF tag tree.
Steps to reproduce:
Create a text frame containing multiple paragraphs.
Assign paragraph styles to the paragraphs and set their PDF Export Tagging to P.
Insert an anchored graphic object at the end of one paragraph.
Export the document as a tagged PDF.
Inspect the PDF tag tree in Adobe Acrobat.
Expected result:
All paragraphs should be correctly included in the PDF tag tree, regardless of the presence of an anchored graphic object.
Actual result:
Paragraphs following the anchored graphic object are missing from the PDF tag tree, even though the text is visible in the PDF.
Workaround / additional testing:
Removing the anchored graphic object restores correct tagging.
Replacing the graphic object with a regular font character restores correct tagging.
Moving the subsequent text to a new text frame also restores correct tagging.
This appears to be a bug in the PDF tagging/export process when handling anchored graphic objects within text flows.
The issue affects the creation of accessible, properly tagged PDFs.
InDesign: 21.6
Mac OS 15.8.3 (24H241)