\DocumentMetadata{tagging = on, pdfstandard = ua-2}

\documentclass{ltx-talk}

\title{Verbatim}

\usepackage{fancyvrb}

\begin{document}

\begin{frame*}
  Text
  \begin{actionenv}<+-|alert@+>
    \begin{Verbatim}[gobble = 6]
      Some content
      %#$_\
      XXX
    \end{Verbatim}
  \end{actionenv}
  \uncover<+->{More text}
\end{frame*}

\end{document}
