-
Notifications
You must be signed in to change notification settings - Fork 144
Description
The current definition of the math role states the following:
Content with the role math is intended to be marked up in an accessible format such as MathML [MathML3], or with another type of textual representation such as TeX or LaTeX, which can be converted to an accessible format by native browser implementations or a polyfill library.
Why is an ARIA role required for polyfills to work? Unless I'm missing something, it's not. Nor is it, IMHO, our job to provide a means for others to hack around lack of MathML support in user agents.
The rest of our roles (with the exception of presentation/none) do a couple of things:
- Cause the element with that role to appear in the accessibility tree
- Provide a means whereby ATs can know what something is.
I think the math role should do the above two things and only the above two things.
Over time, we may want to consider adding other math related roles (e.g. to achieve parity with MathML or the "refresh" in progress of MathML). HOWEVER, that work, if agreed upon, would fall into the 1.4 cycle. Plus, APA is currently working on knowledge domain accessibility. They may come up with some solution which we'll want to consider.
In the meantime, here is my proposal for the 1.2 cycle:
- We remove from the spec what is currently Example 6. It's a large MathML example without an reference to ARIA other than the comment 'The math element has an implicit role="math".'
- We replace it with some simpler example which actually uses ARIA and demonstrates how some other host language than MathML (it could be HTML, SVG, whatever) combined with the
mathrole would make sense for authors to consider. This example should have child elements. - Assuming we accomplish 2, we can keep what is currently example 7, namely an
imgelement with themathrole and somealttext with a textual representation of the equation.
Thoughts?