3 ms·
> I can add alt text for accessibility Math ML is much more than alt text. It presents mathematical expressions in a hierarchical, tree-like way, letting you e
by miki123211 3y ago
> I can add alt text for accessibility
Math ML is much more than alt text. It presents mathematical expressions in a hierarchical, tree-like way, letting you explore parts of the expression in detail. Depending on the implementation, you may also be able to adjust the verbosity or render the expression in Braille using one of a few different math codes.
If you want accessible math, just alt text is not enough.
- dllu 3y agoTrue. The alt text in my case contains the LaTeX which contains all the information to define the equation. But you're right that a standard like MathML would allow for other surfaces like Braille.
- extra88 3y agoMathJax can generate MathML from Latex and all modern browsers render MathML now.
- omaranto 3y agoWoah! Chrome finally added support for MathML! I had no idea, apparently it landed in January of this year.
- gofixurcode 3y agoThe way I have it set up in my use case is that if you click on the equation it switches to a brief description of what the equation is doing. Pretty useful for quickly parsing it for someone unfamiliar.
- teleforce 3y agoCheck out Pretext, it's write once, read anywhere software package that supports cross platform publication output including Braille [1],[2]. It's a very powerful authoring and publication system, for example if you're writing an interactive Math book, you could use <sage/> blocks to specify language e.g. Python, write around code blocks, providing references to equations, etc [3]. Fun facts, PreTeXt was originally called MathBook XML thus it has robust support for mathematical formulas [4],[5]. Last but not least, don't let XML being used in Pretext scared you off since XML is great for markup language and anything todo with publication online, printed, Braille, etc [6]. [1] PreTeXt Write Once, Read Anywhere: https://pretextbook.org/ https://pretextbook.org/ [2] PreTeXt: Write Once Read Anywhere Authoring and Publishing System: https://news.ycombinator.com/item?id=37231025 https://news.ycombinator.com/item?id=37231025 [3] The PreTeXt Guide: 3.17 Sage: https://pretextbook.org/doc/guide/html/overview-sage.html https://pretextbook.org/doc/guide/html/overview-sage.html [4] The PreTeXt Guide: 4.9 Mathematics: https://pretextbook.org/doc/guide/html/topic-mathematics.html https://pretextbook.org/doc/guide/html/topic-mathematics.htm... [5] The PreTeXt Guide: Chapter 13 Mathematics https://pretextbook.org/doc/guide/html/basics-ch-math.html https://pretextbook.org/doc/guide/html/basics-ch-math.html [6] XML is better than YAML – Hear me out: https://news.ycombinator.com/item?id=37586580 https://news.ycombinator.com/item?id=37586580