Role attribute on SVGs to support aria-label
Created by: b1tzmast3r
I noticed that the span MathJax_SVG has a role of math and the svg tag doesn't have a role attribute. Our tests have shown that putting role="img" on the svg tag will improve screen reader performance. Would you ever consider updating this?
Current Rendering:
<span class="MathJax_SVG" id="MathJax-Element-2-Frame" role="math"...>
<svg xmlns:xlink="http://www.w3.org/1999/xlink" aria-label="E equals M C squared" ...>
Recommendation:
<span class="MathJax_SVG" id="MathJax-Element-2-Frame"...>
<svg xmlns:xlink="http://www.w3.org/1999/xlink" role="img" aria-label="E equals M C squared"...">