How to Fix Alt Text and PDF Tags Lost When Replacing Pages
Question details
Users experience a loss of alt text and incorrect tags when replacing or inserting pages in a tagged PDF document.

- Product
- PDF Editor
- Device & OS
- not provided
- Scenario
- Modifying a structured, accessible PDF document by adding or replacing pages originally created from software like InDesign.
- Observed behavior
- The document structure tree is disrupted, alt text disappears, and PDF tags become incorrect or are entirely lost.
Before attempting to edit a tagged PDF, ensure you have the final version of all pages. Combining or replacing pages will disrupt the existing accessibility structure, so you should only apply tags after the entire page layout is finalized.
Compile the PDF First and Retag the Entire Document
Since page replacement breaks the document structure tree, the best practice is to combine all pages first and then apply tags and alt text to the final document.
Inserting or replacing pages in PDF editors generally does not merge document structure trees or alternate text reliably. Modifying the page structure requires re-evaluating the accessibility tags to ensure compliance with screen readers.
Assemble all your required pages, replace any necessary content, and finalize the page order before addressing tags or alt text.
Navigate to the accessibility or advanced editing section of your PDF editor and open the Tags panel to review the current document structure.
Delete the corrupted or incorrect tags. Use the auto-tag feature or manually recreate the heading and paragraph structures for the newly combined document.
Go through every figure, chart, or image in the final document, right-click to access properties, and manually re-enter the required alternate text.
Use the built-in Accessibility Checker to verify that all structural tags and alt text are correctly applied without missing elements or logical errors.

Easily Edit and Manage PDF Pages with WPS Office
WPS Office provides a powerful, lightweight PDF editor that allows you to easily insert, extract, replace, and merge PDF pages. It ensures format consistency while remaining fully compatible with mainstream PDF standards.
- 1. Open your PDF in WPS Office: Launch WPS Office and open your base PDF document.
- 2. Navigate to the Page tab: Click on the 'Page' tab on the top ribbon to access page management tools.
- 3. Insert or Replace Pages: Select 'Insert Page' to add new content, or use the 'Replace' tool to swap an existing page with a new one.
- 4. Save the final document: Once all pages are correctly ordered, save the document as a new PDF file before proceeding to your accessibility tagging workflow.

Frequently Asked Questions
Why do PDF tags break when I extract or replace pages?
When you extract or replace a page, the PDF editor handles the visual content but often severs the connection to the underlying logical structure tree, causing the structural tags to be lost or misaligned.
Can I copy and paste alt text between PDFs?
You generally cannot copy and paste an image along with its alt text between different PDF documents. The alt text is embedded within the document's specific tag structure, which must be manually recreated in the destination file.
How do I check if my merged PDF has correct tags?
You can verify document structure by opening the Tags pane in your PDF editor or by running a dedicated Accessibility Checker tool to scan for missing alt text, untagged reading orders, and structural errors.
Is it better to add accessibility tags in the source program or the PDF editor?
It is always best practice to add semantic structure, heading styles, and alt text in the original source program (such as Microsoft Word or Adobe InDesign) and export it as a tagged PDF, rather than retroactively tagging it in a PDF editor.




