Currently, the MW_MATH_MATHML mode generates MathML + SVG & PNG fallback. However, the MathML is only visible on Gecko and other rendering engines fallback to SVG (or PNG for IE<9) for lack of good visual rendering for MathML.
For people with visual disabilities using accessible tools, the quality of the visual rendering is less important. We should consider a way to expose the MathML source to these tools. There are at least two of them:
- VoiceOver with Safari. One problem is that the accessibility code relies on some information provided by the MathML "RenderObject", so information is lost when doing "display: none" on the <math>.
- MathPlayer. I don't know if "display: none" affects its ability to read the MathML content (I think MathPlayer uses the DOM).
I guess we could do something similar to what we discuss the "enable MathJax" for anonymous users at some point, that is something to switch from SVG to MathML. That would also be useful for people willing to use the visual rendering of MathPlayer/WebKit.
Alternatively, when MW_MATH_MATHML becomes the default, I could easily write an add-on for safari to switch from SVG to MathML.
Version: master
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=70206