mathjax / MathJax-a11y

MathJax Accessibility extensions
https://mathjax.github.io/MathJax-a11y/
Apache License 2.0
35 stars 19 forks source link

No aria-label for some math #225

Closed garagebrewer closed 6 years ago

garagebrewer commented 6 years ago

I have some expressions that do not get the correct aria-label. It just says aria-label="math". Other expressions work fine. I'm including a sample HTML that reproduces the problem. As far as I can tell, it seems related to the space in the expression. "4 1/3" does not ready but on their own, "4" does read correctly and "1/3" does as well. math-test.html.zip

zorkow commented 6 years ago

Thanks for reporting this. I'm afraid I can't reproduce it. I get a descriptive aria label reading: 4 ⁢ open ( 1 divided by 3 close Can you tell me the exact versions of MathJax and SRE? The only other issue I can see with your file is that the configuration script tag should normally come before the MathJax source script tag in the DOM.

dpvc commented 6 years ago

@zorkow, their test file is not correct. You need to remove the parentheses to get the issue. It should be `4 1/3` not `4(1/3)`.

zorkow commented 6 years ago

Thanks, @dpvc . I can reproduce the problem now.

zorkow commented 6 years ago

Problem fixed upstream and should be in next release.