Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enableEnrichment: false #3229

Open
tothbtango opened this issue May 9, 2024 · 1 comment
Open

enableEnrichment: false #3229

tothbtango opened this issue May 9, 2024 · 1 comment
Labels
Expected Behavior This is how MathJax works v4

Comments

@tothbtango
Copy link

I can't disable "Semantic Enrichment" in the menu, using the "enableEnrichment: false" code line.
Screenshot 2024-05-09 15 03 43

@dpvc
Copy link
Member

dpvc commented May 9, 2024

The enableEnrichment option (along with enableSpeech, enableBraille, and the other enable* options) are controlled by the menu settings (when the menu component is present), and are only useful in a setting where the menu code has not been included (e.g., if you load input and output components individually and don't include the menu component, or are using nodes to load the MathJax modules directly). You can set the options.menuOptions.settings.enrich to false to disable the enrichment.

If you want your site to be usable by readers who use assistive technology, however I would encourage you not to disable the enrichment, as that disables all assistive tools. Also, if you are using automatic line breaking, the enrichment will improve the quality of the line-break choices.

@dpvc dpvc transferred this issue from mathjax/MathJax-src May 9, 2024
@dpvc dpvc added Expected Behavior This is how MathJax works v4 labels May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Expected Behavior This is how MathJax works v4
Projects
None yet
Development

No branches or pull requests

2 participants