[latex3-commits] [latex3/latex2e] testmergearray: add alt text on subformulas to satisfy validator (598969d8)
github at latex-project.org
github at latex-project.org
Sat Dec 16 01:34:41 CET 2023
Repository : https://github.com/latex3/latex2e
On branch : testmergearray
Link : https://github.com/latex3/latex2e/commit/598969d800b5493faff2482a8c28b356d9c16b0f
>---------------------------------------------------------------
commit 598969d800b5493faff2482a8c28b356d9c16b0f
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Sat Dec 16 01:34:41 2023 +0100
add alt text on subformulas to satisfy validator
>---------------------------------------------------------------
598969d800b5493faff2482a8c28b356d9c16b0f
required/latex-lab/latex-lab-math.dtx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/required/latex-lab/latex-lab-math.dtx b/required/latex-lab/latex-lab-math.dtx
index b3ae57c4..97a8b51b 100644
--- a/required/latex-lab/latex-lab-math.dtx
+++ b/required/latex-lab/latex-lab-math.dtx
@@ -1676,9 +1676,11 @@
\edef\resulttitle{\g_@@_grabbed_env_tl\space (part)}
\tagstructbegin{tag=Formula,
% \end{macrocode}
-% For now we don't put anything in /alt or /ActualText on subformulas
+% For now we don't put real content in /alt or /ActualText on subformulas
+% but we add a short text to satisfy the pdf/ua-2 validator
% \begin{macrocode}
% alt=\result,
+ alt = subformula,
title-o=\resulttitle
}
}
More information about the latex3-commits
mailing list.