`menuOptions` in MathJax 3 seems to be ignored altogether
Created by: fast-reflexes
Issue Summary
Tried in Chrome 98
Steps to Reproduce:
According to https://docs.mathjax.org/en/latest/options/menu.html, the options.menuOptions.settings
configuration object should enable the user to, for example, turn off assistive MML(assistiveMml
) and remove math from tabbing (inTabOrder
). However, these options do not seem to work at all.
With the following configuration:
MathJax = {
options: {
enableMenu: true,
/*renderActions: {
assistiveMml: []
},*/
menuOptions: {
settings: {
semantics: true,
assistiveMml: false,
inTabOrder: false
}
}
}
};
... I would expect all math to be out of tab indexing, assistive mml to be disabled and the math menu to show (and some semantics feature to show in the code). The menu is indeed available but so is assistive mml and all math are included in tabbing. If I disable the math menu and uncomment the block in renderActions
, I accomplish what I want, but this is not what the documentation says. Also, I should be able to disable math menu but still have tabbed math, which I can't.
Sandbox: https://codesandbox.io/s/pure-mathjax-v3-menuoptions-xdk7fc
In MathJax 2, the options for including math in tabbing works great and interplay with the menu being enabled flawlessly, e.g., I can enable the menu and disable the tabbing and vice versa with
MathJax = {
menuSettings: { inTabOrder: false },
showMathMenu: true
};
Sandbox: https://codesandbox.io/s/pure-mathjax-v2-menuoptions-f8c3n5
Any other information you want to share that is relevant to the issue being reported. Especially, why do you consider this to be a bug? What do you expect to happen instead?
I would expect these settings to control what the documentation says and that the control would be independent from other settings, such as enableMenu
.
Technical details:
- MathJax Version: 3.2.0
- Client OS: Mac OS Catalina 10.15.7
- Browser: Chrome 98.0.4758.80 (Official Build) (x86_64)