Fix InDesign Figures Nested in Paragraph Tags in Accessible PDFs
Question details
The user needs to fix a PDF/UA compliance error reported by PAC 3, where figures and tables exported from InDesign are incorrectly nested inside paragraph tags.

- Product
- Adobe InDesign / PDF
- Device & OS
- not provided
- Scenario
- Exporting a document with anchored figures and tables from InDesign to an accessible PDF format.
- Observed behavior
- The PAC 3 accessibility checker flags the PDF for possible misuse because block elements (figures and tables) are invalidly nested within other block elements (paragraph tags).
Before modifying the PDF tag tree, ensure you have a backup of your original InDesign export and a PDF accessibility checker like PAC 3 ready to validate your structural changes.
Manually Restructure Tags and Remove Block Placement
The standard method to resolve this PDF/UA error is to use a PDF tag editor to manually move the nested figures and tables out of the paragraph tags.
According to the Matterhorn Protocol, nesting block elements like Figures or Tables inside other block elements (like Paragraph tags) is invalid. Because InDesign inherently references anchored elements inside paragraphs for design purposes, you must correct the structure post-export.
Open the exported PDF in an advanced PDF editor with accessibility features (such as Adobe Acrobat Pro) and navigate to the 'Tags' panel on the left navigation pane.
Expand the tag tree and locate the <P> (Paragraph) tag that incorrectly contains the <Figure> or <Table> tag.
Click and drag the <Figure> or <Table> tag outside of the <P> tag, placing it directly below or above the paragraph in the tag hierarchy to match the logical reading order.
Right-click the newly separated figure or table tag, open its properties, and remove any unnecessary block-placement attributes. Finally, delete any empty <P> tags that were left behind.

Split Surrounding Text for Mid-Paragraph Elements
Use this method if the figure or table naturally interrupts a paragraph and must be read exactly in the middle of the text block.
Manage and Edit PDFs Seamlessly with WPS Office
While deep accessibility tag tree editing requires specialized PDF/UA software, WPS Office provides a comprehensive, lightweight, and free alternative to Microsoft Office for your daily document needs. It features a powerful built-in PDF editor that perfectly preserves document layout and easily converts files between Word, Excel, PowerPoint, and PDF formats.
- 1. Download and Install: Get WPS Office for free from the official website and install it on your device.
- 2. Open Your Document: Launch WPS Office and open your PDF, Word, Excel, or PowerPoint file directly.
- 3. Edit and Convert: Use the intuitive toolbar to edit your document, modify layouts, or convert between PDF and Office formats seamlessly.

Frequently Asked Questions
Why does InDesign place figures inside paragraph tags?
InDesign is fundamentally a design and layout application. It nests anchored elements like figures and tables inside text paragraphs because that is how the software logically references and positions them on the visual layout, even though this automated structure violates PDF/UA accessibility guidelines.
What is PAC 3 and why does it flag this specific error?
PAC 3 (PDF Accessibility Checker) is an evaluation tool used to verify if a PDF meets the PDF/UA (Universal Accessibility) standards. It flags this issue because the Matterhorn Protocol strictly prohibits nesting structural block elements (like figures or tables) inside other block elements (like paragraph tags).
Will removing the paragraph tags affect the visual layout of my PDF?
No. Modifying the PDF tag structure using the tags panel does not change the visual appearance, styling, or layout of the document. It only updates the logical underlying reading order and structural hierarchy used by screen readers and assistive technologies.
How can I be sure the reading order is correct after fixing the tags?
After pulling a figure or table out of a paragraph tag, visually verify that its top-to-bottom position in the tag tree matches the intended reading sequence. It is highly recommended to test the final PDF document using a screen reader to confirm the content is read logically.




