โœ… PDF/UA Full Compliance

Comprehensive example meeting all PDF/UA requirements: figures, tables, links, abbreviations, validation.

C# โ€” PDF/UA Compliance
doc.Language = "en-US";
doc.Info.Title = "PDF/UA Compliant";
doc.DisplayDocTitle = true;
doc.PdfUaConformance =
    PdfUaConformanceLevel.PdfUA1;
var root = doc.EnableTaggedPdf();

// Figure with alt text + BBox (ยง7.3)
var fig = sect.AddChild(StructureType.Figure,
    "Bar chart showing Q1-Q4 growth");
fig.BBox = new[] { 72.0, 480.0, 350.0, 640.0 };
page.BeginTaggedContent(fig);
// ... draw chart ...
page.EndTaggedContent();

// Abbreviation with expansion (WCAG 3.1.4)
var abbr = sect.AddChild(StructureType.Span);
abbr.Expansion =
    "Web Content Accessibility Guidelines";
page.AddTaggedText(abbr, "WCAG", 215, 425);

// Accessible link
var linkSE = para.AddChild(StructureType.Link);
page.AddTaggedLink(linkSE,
    "https://w3.org/WAI/", "Learn about WCAG",
    72, 395, 140, 14);

// Validate!
var report = new PdfAccessibilityChecker()
    .Check(doc);
// report.IsFullyCompliant == true โœ…
Screenshot of the PDF/UA compliance document showing a dark blue header bar, tagged heading, a placeholder bar chart figure with alt text, abbreviation expansion, a blue accessible hyperlink, and the structure tree panel showing the complete tag hierarchy including Document, Sect, H1, H2, Figure, Span, Link elements

You should see a dark blue header bar, a bold "PDF/UA Compliance Guide" H1, an introduction paragraph, a "Figure with Alt Text" H2 above a placeholder bar chart (four blue bars of increasing height), an "Abbreviation Expansion" H2 with the word "WCAG" in bold (expansion: "Web Content Accessibility Guidelines"), a blue "Learn more about WCAG" hyperlink, and a centred "Page 1" footer.
File: 16_pdfua_compliance.pdf

โ™ฟ 43+ Automated Checks

The PdfAccessibilityChecker validates PDF/UA-1, PDF/UA-2, WCAG 2.2, and ISO 32000 requirements. Run it before every release: var report = new PdfAccessibilityChecker().Check(doc);