How to Fix PDF Tagging and Accessibility Issues on Redacted Pages
Question details
Users need to restore text selectability and fix accessibility tagging on PDF pages that have been corrupted or flattened by redaction boxes.

- Product
- PDF Editor
- Device & OS
- not provided
- Scenario
- Remediating PDF accessibility when dealing with previously redacted pages.
- Observed behavior
- The Reading Order tool fails to highlight text, and Autotag generates empty paragraph, figure, or table tags because the redaction process corrupted the text layer or flattened it into an image.
Ensure you have a backup of the original document before beginning, as modifying flattened pages and re-running OCR can permanently alter the document's structure.
Reconstruct the Text Layer using OCR
Run Optical Character Recognition (OCR) to rebuild the text layer that was flattened by the redaction boxes.
Redaction often flattens page elements into a single image to ensure sensitive data cannot be extracted. Running OCR scans this flattened image and converts the visible characters back into selectable text, allowing tagging tools to function properly.
Open the affected PDF in your advanced PDF editor and navigate to the 'Scan & OCR' or 'Recognize Text' tool from the main tools menu.
Choose the 'In this file' option and specify the exact page range of the problematic redacted pages to avoid altering unaffected pages.
Click 'Recognize Text' to allow the software to scan the flattened pages and rebuild the underlying text layer.
Once the OCR process is complete, use the Reading Order or Autotag tool again to verify that text can now be properly highlighted and tagged.

Manually Create and Assign Tags
Use the Content or Tags panel to manually assign untagged content to container tags if OCR alone fails to make the text selectable.
Recreate the Page via High-Resolution Image Export
Export the broken page as an image and convert it back to a PDF to create a clean slate for the OCR engine.
Use WPS Office to Extract and Edit Text from Flattened PDFs
WPS Office provides a powerful PDF toolset, including advanced OCR capabilities that can recognize text on redacted or flattened PDF pages. This allows you to easily reconstruct the text layer so your documents become selectable and searchable again.
- 1. Open the PDF in WPS: Launch WPS Office and open your flattened or redacted PDF document.
- 2. Navigate to the OCR Tool: Go to the 'Tools' tab on the top ribbon and select the 'OCR' feature.
- 3. Extract or Convert: Choose whether to extract the text directly or convert the page into a fully editable document format.
- 4. Process the Document: Wait a few seconds for the OCR engine to scan the page and reconstruct the text layer.

Frequently Asked Questions
Why do redaction tools break PDF accessibility tags?
Redaction tools often flatten page content or alter the underlying content stream to ensure sensitive information is permanently and securely removed. This process can inadvertently convert standard selectable text into flat images, destroying existing accessibility tags.
Can I reverse a redaction in a PDF to fix the tags?
No. Once a redaction is applied and the document is saved, the underlying data is permanently removed. You cannot reverse it; instead, you must use OCR (Optical Character Recognition) to reconstruct the text layer for the remaining visible text.
Does the Autotag feature work on image-based PDFs?
No, the Autotag feature requires a readable text layer to function properly. If a page has been flattened into an image by redaction, you must perform OCR first before the Autotag feature can successfully identify paragraphs, figures, and tables.




