20
0

Tag beamer frame titles as H1 headings for PDF accessibility

Patches the frametitle template to emit tagpdf H1 structure tags,
addressing accessibility reports about missing headings.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-31 15:02:21 -07:00
parent 6d8817c3cf
commit 3aadf6cbeb

View File

@@ -10,6 +10,15 @@
\usepackage{tagpdf} \usepackage{tagpdf}
\tagpdfsetup{activate-all} \tagpdfsetup{activate-all}
% Tag frame titles as H1 headings for PDF accessibility
\addtobeamertemplate{frametitle}{%
\tagstructbegin{tag=H1}%
\tagmcbegin{tag=H1}%
}{%
\tagmcend%
\tagstructend%
}
\usepackage{pgfpages} \usepackage{pgfpages}
\input{notes.config} \input{notes.config}