Re: [mediaqueries] MathML

> On Oct 4, 2016, at 12:59, Ivan Herman <> wrote:
> if the browser does include a MathML renderer, this is what one would want to use, otherwise (as a fallback) an image. How to put both formats into the code and ensure that what gets displayed is the optimal one for that specific environment? How to avoid that, for example, *both* the mathml content and the corresponding jpg image gets displayed? Or none of the two? (Alas!, the fallback image approach within MathML does not work; browsers that ignore MathML also ignore that feature as well.)

That was the case that was presented to the CSSWG, and let to the initial adoption of the proposal. However, it was later commented that:

 - Even if the browser includes a MathML renderer, you may not way to use it, as it is neither ideal for accessibility (because markup is not semantic), nor is it reliable for presentation

 - Fallbacks can be better than images. ARIA annotated HTML or SVG can both be accessible and visually good representations. And given that they are, it isn't clear why they should be used as fallbacks instead of as the preferred rendering.

 - If the accessibility of MathML is judged good enough, it can be included in the markup and styled to be visually hidden (off screen, transparent...) and be used simultaneously with the image/SVG/HTML visual rendering (See Robin's mail).

This means that the MQ might not be used even if it was there, and that there are alternative ways to produce accessible and visually appealing math. So that's why the action to spec the MQ was put on hold.

 - Florian

Received on Tuesday, 4 October 2016 14:33:38 UTC