Accessible Slides in LaTeX: Use ltx-talk in Place of Beamer

By Shihab Shahriar Antor · Updated November 2026 · 5 min read

Beamer cannot produce a tagged PDF: the LaTeX Project lists it as having no tagging support and recommends the ltx-talk class for new accessible slides. With ltx-talk, a \DocumentMetadata line with tagging=on and LuaLaTeX, a slide deck builds to a tagged PDF with headings, lists, tables and maths a screen reader can use.

Why not Beamer

Beamer builds each slide by boxing and re-boxing its material, and that cannot be tagged. The LaTeX Tagging Project’s status list marks beamer as having no tagging support and names ltx-talk as the class to use for new tagged slides. ltx-talk was written from scratch for that purpose by Joseph Wright. Its commands look familiar: frames, frame titles, overlays.

A Beamer deck you already have still works as slides. It will not become an accessible PDF by changing a setting. For a course that has to post accessible material, new decks are the place to switch.

A deck that passes

main.tex, built with LuaLaTeX
\DocumentMetadata{
  lang = en-US,
  pdfstandard = ua-2,
  tagging = on,
  tagging-setup = {math/setup = mathml-SE},
}
\documentclass[frame-title-arg]{ltx-talk}
\usepackage{graphicx}

% Frame titles become headings a screen reader can jump between.
\tagpdfsetup{role/new-tag = frametitle/H1}

\title{A first accessible slide deck}
\author{Your Name}

\begin{document}

\begin{frame*}{}
  \centering
  \Large A first accessible slide deck\par
  \vspace{1em}
  \normalsize Your Name\par
  \today
\end{frame*}

\begin{frame}{What makes these slides accessible}
  \begin{itemize}
    \item The first lines of the file turn tagging on.
    \item Each frame title is a heading.
    \item Maths is stored as MathML: \(E = mc^2\).
  \end{itemize}
\end{frame}

\begin{frame}{A table with a header row}
  \tagpdfsetup{table/header-rows = {1}}
  \begin{tabular}{lr}
    \textbf{Week} & \textbf{Topic} \\
    1             & Limits         \\
    2             & Derivatives    \\
  \end{tabular}
\end{frame}

\end{document}
  • frame-title-arg lets you write the title as \begin{frame}{Title}, as in Beamer.
  • \tagpdfsetup{role/new-tag = frametitle/H1} makes every frame title a heading, so a listener can move from slide to slide by title.
  • frame* with an empty title is used for the title slide here.
  • math/setup = mathml-SE stores each formula as MathML. It needs LuaLaTeX, which LetX selects for a deck written this way.

We built this deck on LetX and ran the PDF through veraPDF against PDF/UA-2 on 14 November 2026: 1,728 rules, none failed. We also built it with pdfLaTeX. That PDF passed the validator too, but its formula carried no MathML at all, so a screen reader would have nothing to read there. A validator does not catch that, which is why the engine matters.

A complete teaching deck to start from

Richard Stanton of UC Berkeley publishes a full lecture deck written this way and has put it in the public domain. It covers section slides, footers, code, tables, alt text and a bibliography, and explains each piece as it goes. It is in our gallery as Accessible Teaching Slides, and its PDF, built on LetX, passed the same check.

Before you post the slides

  • Give every image alt text. A decorative one gets artifact so it is skipped.
  • Name the header row of every table.
  • Do not carry meaning by colour alone, and keep text large and well contrasted.
  • Listen to one slide with a screen reader. A validator cannot tell you whether it makes sense aloud.

Open the accessible teaching deck and change it for your course.

Accessible slides template

Frequently asked questions

Can Beamer produce an accessible PDF?

No. The LaTeX Tagging Project lists the beamer class as having no tagging support, because of the way it builds slides, and recommends the ltx-talk class for new tagged presentations. A Beamer PDF has no tags for a screen reader to use.

What is ltx-talk?

A LaTeX class for presentations written by Joseph Wright, built from scratch to work with LaTeX’s PDF tagging. It is meant as a substitute for Beamer and uses similar commands: frames, frame titles and overlays.

Do I have to rewrite my Beamer slides?

To get a tagged PDF, yes, the deck has to use ltx-talk. Most frames carry over with small changes because the commands are similar, but themes and some Beamer-only features do not. Old decks can stay as they are; switch for new material.

Which engine do accessible slides need?

LuaLaTeX. It writes the MathML for each formula. On LetX a new project with tagging on and math/setup=mathml-SE is built with LuaLaTeX without your choosing it.

Related

Shihab Shahriar Antor

Written by Shihab Shahriar Antor , AI Engineer & Founder of Shahriar Labs. Builder of LetX (collaborative LaTeX) and offSchool (SSC science and maths, learned through simulations).