Open saraOrkide opened 2 months ago
This is not a menu, it is part of the assistive technology support. Disabling it will make it harder for people with visual disabilities to access your pages. It is easier for sighted users to disable it via the MathJax contextual menu than for visually impaired to enable it if you disable it.
It would be reasonable, however, to disable the display areas (the long bars below the math). To do that, use
MathJax = {
options: {
a11y: {
subtitles: false,
viewBraille: false
}
}
}
as part of your configuration, and add
.MJX_LiveRegion {
display: none !important;
}
.MJX_LiveRegion_Show {
display: block !important;
}
to your page's CSS. The CSS won't be necessary after the next release (it is to resolve a bug that will be fixed in the next beta).
thank you very much
Also added this class to css
mjx-container[jax="CHTML"] :focus { outline: none!important; background-color: transparent!important; }
The CSS that I provided was so that the speech and braille displays (the bars below the math) would be properly hidden when they are disabled by the configuration above. They were not intended to remove the highlighting and background color, which are important, and should be left as is. A focusable item is required to have a visual display when it is focused, and you have removed those. That means people with disabilities who use tabbing to move among the focusable items will not know where they are when a MathJax expression is focused.
It is a mistake to use this CSS, and I would encourage you not to do so.
Hello, good time How can I disable the click event on the formula? mathjax version: 4.0.0-beta.7