Hello,

Currently, `texi2any --latex` appears to discard any alt text tag, see
https://github.com/latex3/tagging-project/issues/1491#issuecomment-5061006949.
Would it be possible to change this?

Ideally, there would be some sort of flag like `--accessible` or
`--latex-tagging` that could be passed to the texi2any script that would
cause certain changes to the TeX and pdf output, such as the following:

* Forward any alt text to the `\includegraphics` commands.
* Insert a `\DocumentMetadata` command (with appropriate settings) at the
beginning of the document.
* (For pdf output) compile with lualatex instead of pdflatex.
* Ideally, we would also have "actual" and "artifact" tags as well. If I
understand correctly, the "actual=<stuff>" tag indicates to screenreaders
that the image should be treated as if it were the text "<stuff>"; the
"artifact" tag tells the screenreader to ignore the image altogether (used,
e.g., for logos). All of these tags are supported by `\includegraphics`,
although I don't know what version is needed.

There may be other changes needed, as discussed in the issue linked above.
(Note: Some of these may be better dealt with on the TeX side rather than
the texinfo side.)

Best,

Charles Staats

Reply via email to