6  Notes on LaTeX

Because LaTeX was designed as a typesetting program, PDF documents created using LaTeX do not include the document structure and tagging required for accessibility by default. It is possible to create accessible PDF documents using LaTeX but users will need to use additional LaTeX packages and should be aware of accessibility standards. The Accessibilty package in LaTeX can be used to add the structure, tagging, and alt text that PDF’s created with LaTeX lack.

From LaTeX Guides

The support of tagged PDF within is ongoing. The most up-to-date report is available here.

Here is a sample preamble with additions for accessibility:

\DocumentMetadata{
    testphase=phase-III, % enables tagging
    pdfstandard=A-2b     % declares that the pdf supports the A-2b standard
                         % note: this is only metadata, it does not enforce
                         % nor test anything
}
\documentclass{article}     % unclear if amsart is supported, needs more testing
\usepackage[utf8]{inputenc} % unrelated to accessibility
\usepackage{hyperref}

\hypersetup{
    pdflang=en-US,
    pdftitle={<title of PDF>},
    pdfauthor={<author>}
}

Additional recommendations:

Note

Documentation for supported key/values for \DocumentMetadata is given here.

I (TG) am unable to find more information about what level of the PDF/A standard is supported by LaTeX right now.

The above recipe scores 100% on Blackboard’s accessibility checker but more in depth testing is needed (and welcome!).

6.1 Packages

These may all be outdated
Caution

This package is not meant for direct use for end users.

The package offers tools to experiment with tagging and accessibility using pdfLATEX and LuaTEX. It isn’t meant for production but allows the user to try out how difficult it is to tag some structures; to try out how much tagging is really needed; to test what else is needed so that a pdf works e.g. with a screen reader. Its goal is to get a feeling for what has to be done, which kernel changes are needed, how packages should be adapted.

Wait!

This package is not actively developed. Please read the author’s README for more info.

The accessibility package is intended to create tagged, structured PDF documents from LATEX source code. It allows to produce tagged PDF output following Adobe’s PDF-1.5 and 1.6 specifications.

Wait!

As of 2020 the author discourages the use of this package.

PDF documents containing formulas generated by LATEX are usually not accessible by assistive technologies for visually impaired people and people with special educational needs (i.e., by screen readers and braille displays). The axessibility package manages this issue, allowing to create a PDF document where the formulas are read by these assistive technologies, since it automatically generates hidden comments in the PDF document (by means of the /ActualText attribute and/or suitable tags) in correspondence to each formula.

6.2 Further reading

Some links of interest (re: accessible LaTeX):