mathjax / MathJax

Beautiful and accessible math in all browsers
http://www.mathjax.org/
Apache License 2.0
10.14k stars 1.16k forks source link

enableEnrichment: false #3229

Open tothbtango opened 4 months ago

tothbtango commented 4 months ago

I can't disable "Semantic Enrichment" in the menu, using the "enableEnrichment: false" code line.

Screenshot 2024-05-09 15 03 43
dpvc commented 4 months ago

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.