STEM-accessibility-test-docs

pdfua2-mathml-af-alt — Associated Files + Alt text

Overleaf project: pdfua2-mathml-af-alt (read-only)

This file tests AF + Alt text: MathML is embedded as an Associated File, and a plain-text alternative (Alt text) is also auto-generated on the formula tag. No MathML Structure Elements are written into the tag tree.

Files

File Description
main.tex LaTeX source
pdfua2-mathml-af-alt.pdf Compiled PDF output
latexmkrc Overleaf compilation configuration (shared across all six projects)

\DocumentMetadata configuration

\DocumentMetadata{
  lang=en,
  tagging=on,
  pdfstandard = {ua-2, A-4f},
  tagging-setup={
    math/setup = mathml-AF,
    math/alt/use = true
  }
}

Key choices:

Test results summary

Screen reader + PDF viewer Result
NVDA with Adobe Acrobat Pro ❌ Alt text (static string; no interactivity)
JAWS with Adobe Acrobat Pro ❌ Alt text (static string; no interactivity)
NVDA with Firefox ✅ Configurable math speech/braille; interactive expression exploring
JAWS with Firefox ✅ Configurable math speech/braille; interactive expression exploring
NVDA or JAWS with Chrome/Edge ❌ Math is skipped over; not read aloud
VoiceOver macOS (all viewers) ❌ Speaks as gibberish / math skipped

See the full results table for complete detail and test dates.

Notes

When Alt text is present on the formula tag, Adobe Acrobat Pro reads it instead of processing the MathML — for both NVDA and JAWS. This is a consequence of how Acrobat prioritizes the Alt attribute: it treats it as the authoritative text alternative and does not pass control to a math engine. Firefox ignores the Alt attribute on formula tags and correctly routes to MathML via MathCAT.

The Alt text result is marked as a failure in the test results because it provides only a static string with no interactive navigation, no braille output configuration, and potentially reduced fidelity for complex expressions. It represents a significant step down from full MathML access even though it does convey some meaning.