
Accessible PDF
How to create PDF/UA compliant documents
Add an alt text
An alt text (short for alternative text) describes a non-text element, like an image or a graphic. The invisible text can be read and displayed by software, especially AT. In this post we’re looking how to add such alt texts in Microsoft Word, Adobe InDesign and Adobe Acrobat.
An alt text (short for alternative text) describes a non-text element, like an image or a graphic. The invisible text can be read and displayed by software, especially AT. In the glossary you can learn more about the meaning of an alt text and what it should look like.
In this post we’re looking how to add such alt texts in Microsoft Word, Adobe InDesign and Adobe Acrobat.
Add an alt text in Microsoft Word
The possible ways to add an alt text in Word depend on which version you’re using and whether you are in compatibility mode (if you are working with the old .doc format). No matter which version you have, right clicking on the image will always get you there.
- Right click on the image.
- Choose “Format Picture” or, if available, a direct command “Edit Alt Text”.
- The last step can now look like this:
- If a new area “Format Picture” opens on the right, click on the third tab “Layout & Properties” and write your alt text in “Alt text” → “Description”.
- Another possible variation is that a window “Format Picture” opens, in which you have to change to the tab “Alt Text”.
- A further possibility is the opening of a window in which the alt text can be entered directly.
The alternative texts are now delivered with the PDF export and do not have to be added again in Acrobat.
The alt text is added to a <Figure>
tag. Therefore the points in “Defining PDF tags in Word” must be observed.
Add an alt text in Adobe InDesign
- Click on the image.
- Select “Object” → “Object Export Options”.
- The “Alternative text” tab is displayed.
- Select the option “Custom” in the dropdown “Alt Text Source” if you have not already stored the alt text in an XML structure or in metadata of the image.
Note: If multiple images need to be edited, you can leave the “Object Export Options” window open and click from one to another image. The contents of the “Object Export Options” window will change depending on which image is clicked.
The alt text is added to a <Figure>
tag. Therefore the points in “Defining PDF tags in InDesign” must be observed.
Add an alt text in Adobe InDesign with MadeToTag
Using the MadeToTag plugin, you can view all the images in one window and give them an alt text. Click on “Show overview” in task 3 called “Alternative text”.
In addition, an overview of all metadata and alt texts can be generated in a new InDesign document.
Add an alt text in Adobe Acrobat
As it is generally the case for tagging documents, the process of adding alt texts is better done in the source document. The reason for this is that all work in Acrobat must be repeated when the PDF is created again.
The following solutions assume that the images have already been tagged. If you need more information about this, have a look at the following articles:
Solution 1
- Open the navigation pane “Tags”.
- Navigate to the affected
<Figure>
tag. - Right click on this tag and select “Properties”.
- Add the alt text in the tab “Tag” and the column “Alternate text”.
Solution 2
- Click on “Reading Order” within the “Accessibility” tools.
- A new window “Reading Order” opens and the contents are displayed in different grey areas.
- Right-click on the grey area in which your image is located.
- Select “Edit Alternate Text” and write your alt text into the newly opened “Alternate Text” window.
How to’s
You can follow these best practices when creating an accessible PDF:
- Start with an accessible source document
If possible, it’s best to start with an accessible source document and export it to an accessible PDF. This ensures that your content is properly tagged and structured from the beginning. When you convert the source document into a PDF, it should retain its accessibility features - Use proper headings and structure
Organize your content with proper headings and create a logical reading order. Readers benefit from this as they can navigate the document and understand the content more easily - Include alternative text for non-text elements
All meaningful images, charts, and non-text elements should have alternative text descriptions. This helps people who rely on screen readers comprehend important information - Tag tables and forms properly
Properly-tagged tables and forms make a PDF more accessible. For tables, include header rows and columns to help people navigate your content. It is important to note that there are specific tags used for tables. When tagging a table as a whole, one should use the tage <Table>. Conversely, when tagging a specific row within a table, the <TR> tag should be applied - Ensure proper color contrast
Use sufficient color contrast between your text and the background. This makes your content accessible to all readers, including those with vision impairments like color blindness. To learn more about this topic, we recommend you read our guide on choosing ADA-compliant colors - Use accessible fonts and formatting
Fonts and formatting are often overlooked, yet they can impact a person’s experience engaging with and consuming information appearing in a PDF. Avoid using fonts that are too small or difficult to read, and make sure your formatting is consistent throughout the document. To learn more about this topic, we recommend you read our guide on choosing ADA-compliant fonts - Identify all link destinations
Links appearing within a PDF should have concise, meaningful, and descriptive text that clearly indicates their destination. This helps readers using assistive technology quickly navigate content and determine which resources to explore further - Define the PDF’s language
PDFs must be properly tagged and identified in the correct language. Without the right language identification, screen readers may misinterpret the text, leading to confusionYou can follow these steps to define a language in Adobe Acrobat Pro XI