mathjax / mathjax/MathJax

Spacing issue around parenthesis when explorer accessibility is turned on

Open
#2,881 3 comments 0 reactions 1 assignee View on GitHub

@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
Screen Shot 2022-05-31 at 12 20 33 AM

Expected behavior
Screen Shot 2022-05-31 at 12 21 15 AM

Steps to Reproduce:
  1. Open https://jsbin.com/bohitetaka/edit?html,js,output
  2. 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:

https://jsbin.com/bohitetaka/edit?html,js,output

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.