How to Preserve PDF Tags and Alt Text When Optimizing File Size
Question details
The user needs to reduce the file size of a PDF document without losing its accessibility features, such as structural tags and alternate text for images.

- Product
- Adobe Acrobat Pro
- Device & OS
- not provided
- Scenario
- Optimizing a large PDF document for web sharing, email, or storage while maintaining ADA or WCAG accessibility compliance.
- Observed behavior
- Standard PDF optimization tools often automatically strip out document tags, metadata, and alt text to save space, ruining the file's accessibility structure.
Always create a backup copy of your original tagged PDF before running any optimization processes, as discarded tags and structure metadata cannot be recovered once the file is saved.
Adjust PDF Optimizer Settings in Adobe Acrobat
Configure advanced optimization settings to explicitly retain tags and alternate text while compressing images and fonts to reduce the overall file size.
PDF optimization tools generally categorize tags and metadata as 'document overhead'. To protect accessibility features, you must uncheck the settings that discard this data and focus instead on downsampling images and subsetting fonts.
Open your tagged PDF in Acrobat Pro. Navigate to 'File' > 'Save As Other' > 'Optimized PDF'.
Click the 'Audit Space Usage' button at the top right of the Optimizer dialog to see which elements (images, fonts, document overhead) are taking up the most space. This helps you target what to compress.
Select the 'Discard Objects' panel on the left side of the window. Ensure that 'Discard document tags' and 'Discard all alternate images' are completely unchecked.
Select the 'Discard User Data' panel. Make sure that options like 'Discard hidden layer content and flatten visible layers' or metadata removal options are set to 'Retain Existing' where applicable to preserve the structure.
Use the 'Images' and 'Fonts' panels to reduce file size through compression, downsampling, and un-embedding unused fonts instead of stripping metadata. Click 'OK' to save the optimized file.

Safely Compress PDFs without Losing Quality in WPS Office
WPS Office provides a streamlined PDF compression tool that helps you reduce document sizes quickly while maintaining file integrity and structural elements. It is an excellent, lightweight alternative for handling large PDF files effortlessly.
- 1. Open your PDF in WPS Office: Launch WPS Office and open the large PDF file you wish to compress.
- 2. Access the Compress Tool: Navigate to the 'Tools' tab on the top ribbon and click on the 'Compress' option.
- 3. Choose Compression Level: Select your desired compression level (such as HD, Normal, or Common) based on the balance you need between file size and quality.
- 4. Compress and Save: Click 'Compress' to apply the settings and save your newly optimized PDF file safely to your device.

Frequently Asked Questions
Why does standard PDF optimization remove alt text and tags?
Standard PDF optimizers often classify structural tags, metadata, and alt text as 'document overhead' to aggressively reduce file sizes. If specific retention settings aren't manually configured, the optimizer will strip this data by default to save space.
How can I check if my PDF tags were preserved after compression?
You can verify the structural tags by opening the Tags panel in your PDF editor or by running a built-in Accessibility Checker tool. This will ensure the document still passes ADA or WCAG compliance tests after being optimized.
Is there a way to reduce PDF size without touching metadata at all?
Yes. By focusing solely on downsampling high-resolution images, applying higher JPEG compression to pictures, and un-embedding unused fonts, you can significantly reduce the file size without altering any accessibility metadata or tags.
What is 'Document Overhead' in a PDF file?
Document overhead includes non-visible data such as bookmarks, metadata, document tags, cross-reference tables, and deleted object fragments. While clearing it reduces file size, it may remove crucial accessibility information if not handled carefully.




