-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
improving alt-text usage #55
Comments
Random note on authoring: make4ht supports |
Beyond the official LaTeX syntax, it would be good to provide an option for |
On another related note, it would be good to store the title in generated SVGs in the XML to make it simpler to find. |
We should also prototype means of linking to long textual alternatives. On the XML end, would could just have an I don't know if TeX |
For completeness, here's an experiment of mine for providing short labels inside math mode https://github.com/krautzource/mathjax-aria-label/ . The underlying constructs will remain explorable but on the higher level, SRE will pick up on the author's textual alternative. |
Currently, only mbk103 has instances of the
alt-text
element. There, it appears only insidefig
elements.In ams-xml-to-html, we currently have
https://github.com/AmerMathSoc/ams-xml-to-html/blob/138f6c862fbe804ddafb9942be1cd245247ea4d0/ams-xml-to-html.xsl#L755-L757
This is very specific to this use case. For example, a figure with multiple graphics would have a single alt-text.
If we encounter new publications with alt-text (in particular, if content is required to include graphics alt-text), we should reconsider this. E.g., jats and bits allow alt-text as a child of graphic and inline-graphic.
In the JS implementation of ams-xml-to-html, it is somewhat inconvenient to implement the lookup the same way as in XSL; for simplicity, we will only look for alt-text if the parent is a
fig
element which will suffice for mbk103. We can update the implementation once we encounter new content.The text was updated successfully, but these errors were encountered: