WCAG Standard for PDF

Experience Log #12
ResolvedLearning
#wcag#java#pdf
Created
2026-04-17T03:10:15.147Z
Last Updated
2026-04-17T03:14:50.225Z
Resolved
2026-04-17T03:14:50.225Z

Description

Genereated PDF needed to be tagged, setting title, setting show option (tab name follow should using the title), setting author, setting keywords (metadata) the purpose of tagged pdf are used for the screen reader to read the pdf

Solution

For Java library should using PdfWriter, PdfDocument, if only using ITextRenderer, are unable to set the pdf tagged. For ITextRenderer, if switch to PdfWriter because of the engine are different, the style and layout will be looks diff, so beware of this issue if the pdf needed to be tagged, should needed to notice the structure of the html template, after set the pdf tagged will based on your html sturcture to auto tagging Bookmarks are not same a tag if you html template origin got header 1, header 2, image alt, pdf will based on those html tag to book mark

WCAG Standard for PDF - Keith's Portfolio