-
Notifications
You must be signed in to change notification settings - Fork 61
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
MathML alternative content #681
Comments
That warning isn't completely correct. MathML should either have an alttext or altimg attribute. A reading system has to give precedence to an xhtml fragment in an annotation-xml element over the attributes, but it's not a requirement to include one. In terms of what we can implement for 3.1, should we clarify in 2.5.4.1 that the attributes are recommended for reading systems that do not support mathml as an alternative presentation?[1] We could/should discuss accessibility MathML alternatives in the accessibility techniques, if not leaving it to be addressed in WCAG. [1] http://www.idpf.org/epub/31/spec/epub-contentdocs.html#sec-html-mathml-alt |
Thanks for the additional information, @mattgarrish. Could A side comment, the recommendation for MathML should probably require |
We can add any guidance we want to the accessibility techniques document, so no reason we couldn't elaborate on including aria-label and alt there under math fallbacks. If they become future WCAG techniques we can always drop, too. I'm just wondering what to make of the existing section. It's sort of authoring guidance wrapped up as normative requirements. With altimg being offered as an alternative to using epub:switch to include a fallback image, maybe that's all we should informatively retain (with a link to the accessibility techniques for more information on accessible alternatives). |
Thanks, that would be good, I think.
I can't really comment on that. As an author or publisher, I wouldn't use MathML in epub3 if I can avoid it (and use HTML or SVG instead). |
Right, I'm starting to think that we shouldn't have that section in the content docs specification at all. If an author is using MathML, any fallbacks they use shouldn't be spec enforced. Especially when we're silent about reading systems having to use these fallbacks if they don't support mathml rendering. But I think any decision on the future of the section will need to go through the working group. I'm just going to leave this as an open point for discussion. Thanks, Peter! |
Thanks, Matt! |
For the record, what we decided on the last accessibility call is that the techniques document will call out the use of aria-label and aria-describedby for including an accessible description. If the section in the content documents spec remains, the recommendation is that it only discuss the option of including an alternative image via altimg, but that's to be determined by the core working group. |
Thanks for the update, Matt. |
Propose we make the following changes to address this issue: Strip this authoring bullet from the authoring conformance section,, as descriptions are now defined in the accessibility techniques document:
We also strip the following reading system conformance bullet, as it's not applicable and we're not going to influence what reading systems or AT do:
Finally, change the title of 2.5.1.4 and simplify to:
|
As resolved on the July 20 call, I've implemented the changes in the previous comment. See the links above for the updated prose. Please close this issue if no other changes are required. |
@rdeltour was kind enough to re-direct me here (from epubcheck).
To quote Romain:
(Because of this, epubcheck might warn that
MathML should either have an alt text attribute or annotation-xml child element.
)While I understand the motivation to suggest
alttext
andannotation-xml
, this does not seem practical in today's state of AT. From my experience, if an AT does not support MathML it will neither support MathML'salttext
attribute nor support finding something useful in annotation(-xml) elements. Does anyone know of an AT solution that would benefit from this?It seems to me that this adds to the burden of content creators without any actual benefit to the reader. ARIA-based approaches (labels etc) seem more practical.
The text was updated successfully, but these errors were encountered: