\DocumentMetadata
{
lang=en-US,
pdfversion=2.0,
pdfstandard=ua-2,
testphase={phase-III,math,title,table,firstaid}
}
\documentclass{article}
\usepackage{marginnote}
\begin{document}
Some text\marginnote{a margin note}
\end{document}
! Package tagpdf Error: The number of automatic begin (3) and end (2)
(tagpdf) text-unit para hooks differ!
The marginnote package is incompatible with the tagging code. The example
errors with