Skip to main content
Ctrl K

PDF/UA-1 & ISO 32000 Accessibility Inspector

Zero-dependency ISO 14289-1 (PDF/UA-1) & Matterhorn Protocol structural tag auditor and incremental-update stream inspector.

1
contributor

Description

Architectural Overview

pdf-ua-inspector is a deterministic, zero-dependency binary stream parser and structural accessibility auditor for Portable Document Format (ISO 32000-1 / ISO 32000-2) files, engineered around the machine-testable checkpoints of ISO 14289-1 (PDF/UA-1), EN 301 549, and the PDF Association Matterhorn Protocol v1.1.

Unlike server-bound Java or C++ validators that require uploading confidential clinical, legal, or public-sector records, pdf-ua-inspector executes entirely in memory across JavaScript/TypeScript (ESM & WebAssembly), C99, Java 11+, D, and Clojure runtimes.

Audited Matterhorn Protocol Checkpoints

Checkpoint IDNormative ClauseStructural Verification Target
01-001ISO 14289-1 §7.1Catalog /MarkInfo << /Marked true >> without /Suspects true
01-002ISO 14289-1 §7.1Presence and object integrity of /StructTreeRoot
06-001ISO 14289-1 §5XMP metadata stream declaration of pdfuaid:part
07-001ISO 14289-1 §7.1Non-empty document title in /Info (UTF-16BE / PDFDocEncoding) or dc:title
07-002ISO 14289-1 §7.1/ViewerPreferences << /DisplayDocTitle true >>
09-003ISO 14289-1 §7.18.3Page annotation tabbing order /Tabs /S following logical structure
11-001ISO 14289-1 §7.2Valid BCP 47 natural language tag in Catalog /Lang

Installation & Programmatic Usage

npm install pdf-ua-inspector
import { inspectPdfUaBytes } from "pdf-ua-inspector";

const report = inspectPdfUaBytes(pdfUint8Array);
console.log(report.score, report.isPdfUaCandidate, report.failedCheckpoints);

Native C99 CLI Preflight

gcc -O2 -Wall -Wextra -std=c99 src/pdf_ua_inspector.c -o pdf-ua-inspector
./pdf-ua-inspector --json report.pdf

Multi-Revision Incremental Update Forensics

In addition to accessibility tag verification, the engine maps every startxref and %%EOF boundary across incremental saves to flag residual unflattened objects and active-content vectors (/JavaScript, /OpenAction, /Launch, /XFA).

Keywords
Programming languages
  • Java 44%
  • PHP 23%
  • Typst 11%
  • C 10%
  • JavaScript 6%
  • Swift 2%
  • Clojure 1%
  • D 1%
  • Roff 1%
  • TypeScript 1%
License
</>Source code
Packages

Reference papers

Contributors

Contact person

IA

Islam Ayoub

Principal Systems & Document Security Engineer
Utilvo
0009-0002-1503-5639Mail Islam
IA
Islam Ayoub
Principal Systems & Document Security Engineer
Utilvo
0009-0002-1503-5639

Related software

Browser Alpha Matting

BR

Deterministic C99/WebAssembly & TypeScript library for closed-form alpha matting and unpremultiplied RGBA halo removal in client-side scientific imaging.

Updated 2 days ago
1

EU Public-Sector Open-Data & Document Accessibility Observatory

EU

Open-source DCAT-AP v3, 5-Star Open Data, and EN 301 549 / ISO 14289-1 (PDF/UA-1) compliance observatory for European public-sector catalogs.

Updated 2 days ago
1