Spacing issue around parenthesis when explorer accessibility is turned on
Open
@dpvc is already working on this.
Since Aug 5, 2022.
Accepted
Ready for Development
v2
- Dominant language
- JavaScript
- Stars
- 10.9k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Issue Summary
When the accessibility explorer is activated, there's a spacing issue. The spaces after 'f', 'M', and 'cos' are way too big, and I can't figure out how to make them look right. It's important that those spaces are small for readability reasons, since (for instance) "M(x)" is a single object, not two separate things as "M (x)" might suggest.
Current behavior

Expected behavior

Steps to Reproduce:
- Open https://jsbin.com/bohitetaka/edit?html,js,output
- Check how math expression is displayed by making accessibility explorer property to false and true.
When explorer is set to false the spacing is correct, but I also want the accessibility feature.
Technical details:
- MathJax Version: 2.7.7
- Client OS: Mac OS X 10.14.6
- Browser: Chrome Version 102.0.5005.61 (Official Build) (x86_64)
Supporting information:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.