Expand description
PDF/UA-1 conformance validation (ISO 14289-1).
A rule engine over the parsed document, mirroring crate::pdfa: each
check inspects one aspect and yields zero or more Violations. This
covers the high-signal, machine-checkable clauses of PDF/UA-1 (the
“Universal Accessibility” conformance):
- the document is tagged (
/MarkInfo /Marked true) - a
/StructTreeRootis present and non-empty - the catalog declares a
/Lang(BCP 47) - every
/Figurestructure element carries/Altor/ActualText - the structure tree contains at least one heading (
H/H1…H6) - every structure role is a standard type or mapped onto one via
/RoleMap(no unresolvedOtherroles) - every page carries
/StructParents
Everything is best-effort and read-only over ParseLimits-bounded APIs.
Annotation /OBJR coverage and table-structure consistency are out of
scope (first version).
Structs§
- Validation
Report - The outcome of a validation run.
- Violation
- One conformance violation.
Enums§
- Profile
- The validation profile.
Functions§
- validate
- Validate
fileagainst PDF/UA-1.