Tagged PDF (PDF/UA) Showcase

This document exercises PeachPDF's optional tagged-PDF output (PdfGenerateConfig.EnableTaggedPdf): headings, a paragraph, lists, a table, an image with alt text, a link, HTML5 sectioning elements, and both an explicit -peachpdf-pdf-tag-type override and a none suppression.

Lists

  1. Step one
  2. Step two

Table

NameRole
Ada LovelaceMathematician
Alan TuringComputer Scientist

Image and link

A small red square

PeachPDF on GitHub - the underlying Link annotation is cross-referenced with its /Link structure element in both directions (/OBJR and /StructParent).

-peachpdf-pdf-tag-type overrides

This <div> is promoted to /BlockQuote via an explicit -peachpdf-pdf-tag-type override.

This paragraph's wrapper <div> is tagged none, so it is invisible in the structure tree - the <p> below attaches directly to the nearest tagged ancestor instead.

A real <blockquote>, tagged /BlockQuote by the default stylesheet (no override needed).