After switching back to regular img tags as fallback elements, we should also deliver the alt text.
Even though there are more advanced ways of using MathML for accessiblilty http://mathml-association.org/announcement/2016/05/31/wikipedia.html adding the alt text does not harm.
Description
Description
Details
Details
Related Changes in Gerrit:
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| Add alt tag for SVG image | mediawiki/extensions/Math | master | +2 -1 |
Related Objects
Related Objects
Event Timeline
Comment Actions
Change 292952 had a related patch set uploaded (by Physikerwelt):
Add alt tag for SVG image
Comment Actions
@Jaifroid: Please provide a test case for your statement. I see an alt tag on e.g. https://en.wikipedia.org/wiki/Mathematics#Quantity ...
Comment Actions
Apologies @Aklapper, the reported issue relates to Parsoid. I think I posted this in the wrong place.
Comment Actions
I believe that this change added behaviour that runs counter to the documentation in https://meta.wikimedia.org/wiki/Help:Displaying_a_formula#Rendering
The expected behaviour as documented is to display an alt text if any is given. However, it seems to be ignored (See T233121: alt tag in math environment seems to get ignored ).