MX Document Accessibility specification

Version: 1.0 Status: MX specification, maintained by CogNovaMX Date: 28 April 2026 Author: Tom Cranstoun License: MIT

1. Abstract

This specification specifies how a publisher SHOULD declare and demonstrate the accessibility of a non-HTML document carrier so that AI training pipelines, search indexers, agent crawlers, and assistive technologies (screen readers, screen magnifiers, switch interfaces, refreshable braille displays) can reach, parse, and present the document on equal terms with sighted readers using a standard browser.

The note is motivated by a regulatory and demographic gap. Around one in four people in the European Union has some form of disability; the figure is approximately one in six globally. Document carriers other than HTML (PDF being the dominant case, with an installed base of several trillion files and four hundred billion opened in a single vendor's tooling in a single year) are routinely shipped without the structure tags, logical reading order, or language declarations that assistive technologies require. The European Accessibility Act (Directive (EU) 2019/882) entered into force on 28 June 2025 and applies financial penalties of approximately ten thousand euros for minor violations and one hundred thousand euros or more for major or repeated non-compliance, with significantly higher figures available for large enterprises.

The note does not redefine PDF, DOCX, EPUB, or any other carrier format. Each format remains owned by its own standards body (ISO 32000 for PDF, ISO/IEC 29500 for OOXML, IDPF for EPUB). The note does not redefine accessibility either. WCAG 2.1, EN 301 549, and the per-format accessibility standards (ISO 14289 PDF/UA, the WCAG PDF Techniques) remain authoritative. This specification specifies a metadata layer that declares which of those standards the artefact claims to satisfy, and a verification discipline that distinguishes a self-declared claim from an independently checked one.

The note is carrier-agnostic. PDF is treated normatively in section 4 because the regulatory pressure and installed base make it the urgent case. DOCX (section 5) and EPUB (section 6) are described informatively with the same conformance levels and a documented migration path so that the same metadata declarations work across all three formats without per-carrier reinvention.

2. Conformance

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119 and RFC 8174 when, and only when, they appear in all capitals, as shown here.

2.1 Conformance levels

A publisher claiming conformance to this specification for a given artefact SHALL satisfy:

A claim of conformance SHALL state the level reached.

2.2 Draft status

This is a draft note. Conformance levels and field semantics MAY change in response to community review. Implementations of this draft SHOULD note the draft version number they implemented against.

3. Scope

3.1 In scope

3.2 Out of scope

3.3 Relationship to existing standards

The accessibility-conformance vocabulary defined here (accessibilityConformance, accessibilityFeature, accessibilityHazard, accessibilitySummary) is the detailed disclosure layer for documents whose accessibility is a first-class concern. Cogs that need only a high-level quality signal - "is the cog accessibility-aware?" - declare quality.accessibility per MX Provenance specification §6.5, rather than the full conformance vocabulary here. The two layers are complementary: quality.accessibility is the summary signal; the fields in this specification are the detailed claim.

This specification relies on:

This specification adds nothing to those standards; it specifies how their metadata combines for the document-format accessibility case.

4. PDF (normative)

A PDF carrier claiming conformance to this specification SHALL satisfy the following requirements at the level claimed.

4.1 Level 1: Tagged PDF (normative)

The PDF SHALL embed a /StructTreeRoot per ISO 14289-1 §7.1, populated with a tag tree that mirrors the document's logical structure (headings, paragraphs, lists, tables, figures, captions, links). The PDF SHALL declare itself tagged via /MarkInfo << /Marked true >> in the document catalog.

The tag tree SHALL define a logical reading order distinct from the visual layout order. Multi-column documents (newspaper layouts, two-column scientific papers, side-by-side translation panels) MUST set the reading order so that screen readers traverse columns in the author's intended sequence rather than across each visual row.

Every non-decorative image, figure, formula, or other non-text content element SHALL carry alternative text via the /Alt entry on the structure element. Decorative content (borders, dividers, purely visual ornament) SHALL be marked as artefacts (/Artifact) so that assistive technologies skip them.

4.2 Level 2: Declared (normative)

The source artefact (or its sidecar metadata, where the PDF is generated from a source carrying MX frontmatter) SHALL declare:

The PDF's XMP packet SHALL mirror the declarations where the XMP namespace supports them: pdfuaid:part MUST equal the integer part of the declared accessibilityConformance value (1 for PDF/UA-1, 2 for PDF/UA-2); dc:language MUST equal the lang value.

A PDF carrying these declarations without satisfying Level 1 is non-conformant. Validators SHALL reject the claim and SHOULD report the missing structure-tree or reading-order element specifically rather than a generic failure.

4.3 Level 3: Verified (normative)

An independent accessibility check SHALL have run against the PDF byte-stream, and the check's outcome SHALL be recorded in the artefact's provenance metadata under provenancePedigree.checks[]. Each entry in the array SHALL carry at minimum:

The note does not name specific checkers; verifier categories include PDF/UA validators, WCAG PDF Techniques runners, and accessibility-checker tools shipped by major office and graphics vendors.

A fail or pass-with-warnings outcome MAY still be Level 3 conformant if the publisher records the outcome honestly. The point of Level 3 is verifiability, not perfection.

5. DOCX (informative)

A DOCX carrier conforms to this specification at Level 1 by using the document's heading styles consistently for headings (Heading 1, Heading 2, etc. rather than directly-formatted bold text), by carrying alternative text on every non-decorative inline image (the alt-text dialogue in mainstream office authoring tools), and by setting the document's primary language in core.xml.

Level 2 declarations are carried in the same way as for PDF: the source artefact (the DOCX itself, since DOCX is its own source) carries the MX accessibility fields in either a sidecar metadata file or in the core.xml extended-properties block. The DOCX accessibility checker tools provided by mainstream office suites can serve as Level 3 verifiers when their outcome is recorded in provenancePedigree.checks[].

The OOXML accessibility annex covers the format-internal mechanics. This specification does not duplicate it.

6. EPUB (informative)

An EPUB carrier conforms to this specification at Level 1 by using semantic XHTML5 throughout, with epub:type attributes on structural elements (chapter, part, glossary, etc.) per the EPUB Structural Semantics Vocabulary, by carrying alternative text on every non-decorative image, and by declaring the language in the OPF dc:language element.

Level 2 declarations are carried in the OPF metadata block as meta elements with property="schema:accessibilityFeature", property="schema:accessibilityHazard", and property="schema:accessibilitySummary", mirroring the MX field names. The EPUB accessibility specification (EPUB Accessibility 1.1) covers the format-internal mechanics.

7. Why three reinforcing layers

A publisher could reasonably ask why this specification specifies three conformance levels rather than a single binary "is it accessible".

The answer is that accessibility claims fail in three distinct ways and each layer catches a different one. A PDF can be byte-level tagged (Level 1) but carry no machine-readable declaration of what standard it claims, so a downstream consumer has to parse the file to find out (the Level 2 problem). A PDF can carry an explicit accessibilityConformance: PDF/UA-1 declaration in its source frontmatter and its XMP packet but be untagged at the byte level (the Level 1 problem; the declaration is a lie). A PDF can be tagged and declared but never independently checked, so the publisher's claim is unverified (the Level 3 problem; trust is asserted but not earned).

The three layers reinforce each other: structural truth (Level 1), declared truth (Level 2), and verified truth (Level 3). A publisher claiming Level 3 is making the strongest claim available without requiring new verification infrastructure; the note relies entirely on existing checker tooling and existing standards.

The European Accessibility Act, the Americans with Disabilities Act, the UK Equality Act, and analogous regulations in other jurisdictions create a legal incentive for Level 3 specifically: a self-declaration without independent verification carries less defensive weight than an independently-checked one.

This specification is therefore not novel infrastructure. It is a metadata discipline that makes existing accessibility infrastructure auditable.

8. Implementation guidance (informative)

This section is informative; it is not a normative part of the standard.

8.1 Generation pipelines

Most publishers generate PDFs from a higher-level source (Markdown, LaTeX, Word, web-to-PDF). The accessibility-conscious choice is to generate tagged output by default rather than retrofit tagging onto an untagged production file.

For Markdown-to-PDF pipelines, a typesetting engine that supports the tagpdf package (lualatex with \usepackage{tagpdf}) produces tagged output natively. Alternatives include weasyprint and chromium-headless print-to-PDF, both of which produce tagged output by default for HTML input.

For Word-to-PDF pipelines, the office suite's "Save As PDF" or "Export as PDF" function respects the source document's heading styles and alt text when accessibility is enabled at export time.

8.2 Verification

A heuristic Level 1 check on a PDF can be performed with qpdf --json <pdf> (qpdf is widely available open-source tooling) and inspecting the output for /StructTreeRoot, /MarkInfo /Marked true, and /Lang entries on the document catalog, plus the XMP pdfuaid:part declaration. A heuristic check is not a Level 3 verification; Level 3 requires a checker that validates the tag tree's correctness against the standard, not just the presence of the byte-level structures.

A full Level 3 verifier for PDF/UA-1 is available from several open-source and commercial sources. The verifier identity SHOULD be recorded in provenancePedigree.checks[] so a downstream reader can re-run the same verifier and reproduce the outcome.

8.3 Authoring-tool alt text

Mainstream authoring tools and several AI-assisted authoring services now suggest alt text automatically. Suggested alt text is often technically correct but lacks document context. A common failure mode: a photograph of a named person is described as "older businessman looking professional" rather than the person's name and role. A bar chart is described as "blue bars on a white background" rather than the dataset and the comparison the chart conveys.

Authors SHOULD review every auto-suggested alt-text value before shipping. Authors SHOULD mark genuinely decorative images with decorative: true (the MX field) so that authoring tools and verifiers know to skip them rather than emit alt text the screen reader would then announce as noise.

8.4 Scope: which documents need conformance

Not every artefact needs to satisfy this specification. Internal-only documents, ephemeral working notes, and machine-generated artefacts that are never read by a human or an assistive technology are out of practical scope.

The artefacts that benefit most from conformance are customer-facing documents published to the open web (white papers, product datasheets, academic preprints, regulatory filings, government forms) and high-touch internal documents that must be readable by every employee regardless of disability (HR policies, company handbooks, training materials, payroll documents, signed contracts).

9. Security and privacy considerations

The fields described in this specification carry no confidential data. Accessibility declarations are by their nature public claims about an artefact intended for public consumption.

The provenance entries recorded at Level 3 (provenancePedigree.checks[]) name the checker tool and outcome. Publishers SHOULD consider whether any checker-emitted diagnostic detail (e.g. a list of specific tag-tree errors on a failed check) is appropriate to expose alongside the artefact. The recommended pattern is to record the outcome in the public provenance and keep the diagnostic detail in private build logs.

The declarations described here do not expose any user data, do not require the artefact to track or fingerprint readers, and do not create any new attack surface beyond the carrier format's own.

10. IANA considerations

This specification requests no new IANA registrations. The Schema.org accessibility properties referenced in this specification are defined and maintained by Schema.org under their published process; the carrier-format-specific properties (pdfuaid:part, pdfaid:part, dc:language) are defined and maintained by their respective standards bodies.

11. References

11.1 Normative

11.2 Informative

12. Acknowledgements

The author thanks the PDF/UA, WCAG, and EPUB accessibility communities, whose decades of work this specification builds on. The note's three-level conformance shape is modelled on the WCAG Level A / AA / AAA pattern and on the MX Agent Directory Discovery specification's transport / discovery / resilience structure.

Note: This page describes regulatory frameworks in general terms only. Nothing here is legal advice. Requirements vary by jurisdiction, organisation type, and use case. Consult qualified legal specialists for guidance specific to a given situation.