How to Remove Paragraph Tags from Tagged PDF Table Cells in InDesign
Question details
The user needs to prevent or remove paragraph tags that are automatically generated around text inside table cells when exporting tagged PDFs from InDesign.

- Product
- Adobe InDesign / PDF
- Device & OS
- not provided
- Scenario
- Exporting accessible tagged PDFs from Adobe InDesign and preparing a clean tag tree for accessibility compliance.
- Observed behavior
- InDesign automatically generates paragraph tags (<P>) inside table data cells (<TD>), which creates unnecessary complexity in the PDF's tag structure and requires extra manual remediation work.
Ensure you have Adobe Acrobat Pro or a dedicated PDF accessibility remediation tool installed, as these modifications must be performed on the exported PDF file rather than within InDesign itself.
Manually Adjust PDF Tag Structure Post-Export
Since InDesign does not offer a native export option to suppress paragraph tags inside table cells, the most effective approach is to clean up the tag tree using a PDF editor.
InDesign automatically maps paragraph styles to PDF <P> tags to preserve formatting. When these are inside tables, it nests them within <TD> tags. You must resolve this verbosity during the remediation phase.
Launch Adobe Acrobat Pro and open the tagged PDF document you exported from InDesign.
Go to the 'View' menu, hover over 'Show/Hide', select 'Navigation Panes', and click on 'Tags' to open the tag tree.
Expand the tag tree to find the <Table> tag. Expand the table rows (<TR>) and identify the data cells (<TD>) containing the nested paragraph (<P>) tags.
Click and drag the text content node directly into the parent <TD> tag. Once the text is moved, right-click the now-empty <P> tag and select 'Delete'.

Optimize InDesign Export Tagging Settings
Adjust your paragraph styles in InDesign before exporting to ensure that only necessary structural tags are generated.
Edit and Manage PDF Documents with WPS Office
If you frequently work with complex PDFs, tables, and document structures, WPS Office provides a powerful built-in PDF editor. You can quickly modify PDF text, adjust table layouts, or convert your PDF directly to a Word document to restructure content without wrestling with complicated tag trees.
- 1. Launch WPS PDF: Open WPS Office and select the 'PDF Edit' module from the home screen.
- 2. Import Your File: Click 'Open' and select your exported PDF document to load it into the editor.
- 3. Edit Tables or Text: Navigate to the 'Edit' tab. Here you can directly modify text inside tables or adjust formatting without needing to dive into complex underlying code.
- 4. Convert to Word (Optional): If the table needs a complete overhaul, click 'PDF to Word' to convert the file, make your changes easily in a word processor, and export back to a clean PDF.

Frequently Asked Questions
Why does InDesign automatically add <P> tags inside table cells?
InDesign maps its paragraph styles to PDF <P> tags by default to preserve the semantic structure and text formatting of the original document. When you place text inside a table cell, InDesign logically nests that paragraph structure within the table data (<TD>) tag.
Can I completely disable paragraph tagging in InDesign export settings?
No, InDesign does not currently offer a built-in export setting to suppress paragraph tags while keeping the rest of the document's tag structure intact. This cleanup must be done manually using a PDF remediation tool post-export.
Does having a <P> tag inside a <TD> tag fail PDF accessibility compliance?
Not strictly. Both WCAG and PDF/UA standards allow for <P> tags to be nested inside <TD> tags. However, it increases the depth of the tag tree and can make screen reader output unnecessarily verbose, which is why remediation experts often prefer removing them.
What is the fastest way to fix these PDF tags?
The most efficient method is opening the exported file in Adobe Acrobat Pro, accessing the Tags panel, and manually dragging the text nodes out of the <P> tags directly into the <TD> tags, then deleting the empty <P> tags.




