Skip to content

Conformance: PDF/UA-2 metadata, navigation and optional content rules #279

Open

Description

@Tim81

Sub-issue of #275. The remainder of the PDF/UA-2 semantic rule set.

ISO 14289-2:2024 (51 pages) is held, and clause 8 is fully enumerated; the clauses cited below are
read directly from it, with veraPDF's ua2 flavour kept as the cross-check rather than the source.

Metadata (§8.11)

  • The catalog /Metadata stream shall include dc:title reflecting the document's title.
  • The /ViewerPreferences dictionary shall be present and shall contain /DisplayDocTitle with
    value true
    — upgrading ISO 32000-2 Table 147's recommendation to a requirement.

Plus the Clause 5 identification schema itself: pdfuaid:part = 2, pdfuaid:rev = 2024, and no
pdfuaid:conformance.

Navigation (§8.12)

  • Page labels (§8.12.3) — "If a page label is present, it shall represent the same number as that
    perceived by a user. When a page's number is not equal to one plus the page's index, page labels
    shall be present.
    " This is a genuine requirement to emit something, not merely a constraint on
    what is emitted — and B14 is what makes it satisfiable.
  • Outlines should be present for longer documents, each entry should carry an action (§8.12.2).
  • Article threads, if present, should reflect logical order (§8.12.4).

Intra-document destinations (§8.8)

All destinations whose target is in the same document shall be structure destinations. Content
that actionably points at other content — captions, TOCs, cross-references, hyperlinks — shall use a
link annotation with a structure destination, or the /Ref entry, or both.

Optional content (§8.7)

When the catalog has /Configs in /OCProperties containing at least one configuration dictionary:

  • all configuration dictionaries including the default shall have a /Name that is a
    non-empty text string;
  • /AS shall not appear in any optional content configuration dictionary.

NOTE 2 adds that the §8.4.5 font requirements apply to fonts in optional content even if never
rendered
.

Text representation (§8.4.1–8.4.4)

  • PUA codepoints in content streams only where no other valid Unicode value exists (§8.4.2); where real
    content maps to PUA, ActualText or Alt shall be present (§8.4.3).
  • Human-readable text string objects shall not use the PUA at all (§8.6) — this covers bookmark
    titles, Alt, ActualText.
  • Language (§8.4.4): the language of all content and text strings shall be specified; the default
    shall be given by a non-empty /Lang in the catalog; changes shall be declared per 14.9.2,
    and inside text strings per 7.9.2.2; and a /Lang shall resolve to a specific language. NOTE 2
    clarifies the catalog /Lang does not imply a primary language.

Embedded files (§8.14)

  • /Desc shall be present on every file specification in the EmbeddedFiles name tree, with
    enough context to make the file's intent clear.
  • Alternative and supplemental representations should be embedded associated files, associated with
    the applicable structure element, carrying /AFRelationship and /Subtype.

Acceptance

Both paths of every rule against veraPDF ua2.

Relates to


Plan labels used above, resolved: A2 #242 · A4 #243 · B10 #259 · B14 #262 · G3 #273.

Activity

  1. added
    area/conformance
    type/feature
    on Aug 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/conformancetype/feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions