This project provides a simple example of a LaTeX project (available on GitHub at Accessible-LaTeX-Example) that uses the PDF tagging support made available by the LaTeX team in TeX Live 2025.
Please see the LaTeX team's tagging instructions for more information about how add PDF tagging to LaTeX projects: https://latex3.github.io/tagging-project/).
To make use of the tagging support now available in LaTeX, you need to make sure that the TeX Live version and compiler of your project are set properly.
-
With 2025 TeX Live, \LaTeX{} can now produce tagged PDFs automatically -- a key requirement for accessibility. Additional accessibility features are being added on an ongoing basis to the TeX Live builds. Currently, new projects created in Overleaf use the 2025 TeX Live tested release, and for those who need even more recent releases, a rolling updated version of TeX Live is available through the Overleaf Labs program. For most requirements, the standard 2025 TeX Live image should be sufficient, but for those who wish to use the most recent features provided by the LaTeX team, the rolling version provided by Overleaf Labs may be required.
-
The settings in this document require that the compiler used for this project needs to be explicitly set to LuaLaTeX in Overleaf.
This project includes some GitHub workflow definitions that can be used to run an accessibility test against the generated PDF.
| workflow | status | notes |
|---|---|---|
| Latest PDF of document | View the latest PDF |
The Compile PDF (latexmk,lualatex) workflow will compile the source and save the PDF in the project. Overleaf does not save the compiled PDF in the project, but if you are using GitHub Sync, you can run the GitHub workflow on the GitHub side do this. In general, it is not recommended to save a copy of the PDF in the project, but it is done here to simplify the accessibility testing process. The PDF compiled by the GitHub workflow is saved as main.pdf, and the build time for this PDF can be found in the ./build-info/compile-build-info.json file.
| workflow | status | notes |
|---|---|---|
| PDF accessibility verification | See the full report |
The Check PDF Accessibility (veraPDF) workflow will install and run veraPDF to generate an accessibility report. Two reports are generated: a simple a11y-statement.txt report and a more detailed a11y-report.json report. The build time for the report generation can bre found in ./build-info/a11y-build-info.json. This test uses the ua-2 pdf tagging profile provided by veraPDF.