How to Fix Image Tags Outside Tables in PDFs Converted from Word
Question details
The user needs to resolve an accessibility issue where images located inside Word table cells are placed outside the table tag structure upon conversion to PDF.

- Product
- Microsoft Word / PDF Converters
- Device & OS
- not provided
- Scenario
- Converting a Microsoft Word document containing tables with images into a fully accessible PDF document.
- Observed behavior
- Images originally positioned inside Word table cells fall outside the table tag structure in the resulting PDF tag tree, disrupting the reading order and requiring manual correction.
Before troubleshooting the PDF output, ensure your source Word document is properly formatted with images set to 'In Line with Text' within the table cells, and update your conversion software to the latest version.
Test Alternative PDF Conversion Methods
Different conversion engines handle document structural tags differently. Comparing Word's built-in export with Acrobat's PDFMaker can help identify a method that correctly tags table images.
The way Microsoft Word processes tables and nested elements during PDF export can vary significantly depending on the tool you use. Sometimes the native Save As PDF feature succeeds where an add-in fails, or vice versa.
Navigate to File > Save As in Microsoft Word. Select 'PDF' as the file format, click 'Options', and ensure the 'Document structure tags for accessibility' checkbox is enabled before saving.
If you have Adobe Acrobat installed, go to the Acrobat tab on the Word ribbon. Click 'Preferences' to ensure accessibility tagging is enabled, then click 'Create PDF'.
Open both resulting PDF files in an advanced PDF editor. Open the Tags pane and check if the <Figure> tags are now properly nested inside the <TD> (Table Data) tags.

Manually Repair the PDF Tag Tree
If all conversion methods fail to nest the images properly, you can manually adjust the reading order and tag structure within a professional PDF editor.
Try WPS Office for Seamless Word to PDF Document Conversion
If Microsoft Word's PDF conversion is causing persistent tagging and accessibility issues, consider switching to WPS Office. It provides a lightweight, highly compatible alternative for creating, formatting, and flawlessly exporting your documents to PDF without the heavy subscription costs.
- 1. Download and Install WPS Office: Get the free WPS Office suite from the official website and install it on your device.
- 2. Open Your Word Document: Launch WPS Writer and open your existing .docx file containing the tables and images.
- 3. Export to PDF directly: Click on 'Menu' and select 'Export to PDF'. Adjust your output settings and generate a clean PDF document.

Frequently Asked Questions
Why are my images appearing outside the table in the PDF tag tree?
This usually happens because the conversion engine fails to associate anchored or floating images with the table cell's structural element during the export process. Setting images to 'In Line with Text' in Word helps prevent this.
How do I view the tag tree in a PDF?
You can view the tag tree using advanced PDF editing software. Typically, you access this by opening the navigation panes and selecting the 'Tags' panel to inspect the document's logical structure.
Does changing the image wrapping style in Word affect PDF tagging?
Yes. Images must usually be set to 'In Line with Text' within the table cell for the PDF converter to have the best chance of tagging them correctly inside the <TD> (Table Data) tag structure.




