living-papers icon indicating copy to clipboard operation
living-papers copied to clipboard

feat: add alt text to generated latex images

Open domoritz opened this issue 11 months ago • 3 comments

See https://github.com/latex3/latex2e/issues/651.

If you add \DocumentMetadata{testphase=phase-III} to the beginning of the document, this might just work. See https://www.latex-project.org/publications/2023-UFi-FMi-TUG-tb137fischer-tagging23.pdf for details about the state of tagged documents.

domoritz avatar Mar 22 '25 19:03 domoritz

Cool! Would be great to check if this works. Also we'd want to make sure we don't get errors or any others issues when running through a pdflatex version that doesn't support alt text.

jheer avatar Mar 24 '25 18:03 jheer

I've been using the alt texts for a while now without problems but have not had success with latex experimental mode to embed alt texts and render complex templates correctly. This change is more forward looking for when latex fully supports this but I think having documents ready now is good since it will make any document that gets recompiled in the future automatically more accessible (e.g. if someone posts a paper on arxiv).

domoritz avatar Mar 24 '25 22:03 domoritz

So in short, this doesn't cause any harm but also has no benefit right now. I think it's still good to merge so that current papers become accessible in the (hopefully near) future.

domoritz avatar Mar 25 '25 17:03 domoritz