decker-edu / decker

A markdown based tool for slide deck creation.
GNU General Public License v3.0
53 stars 13 forks source link

reenable mathjax menu and a11y features #79

Closed salbeira closed 8 months ago

salbeira commented 8 months ago

This PR adds the a11y and sre directories from mathjax back into the vendor support directory as well as the mml files necessary to make mathjax not crash on init.

It reenables the mathjax context menu and the math formula keyboard interaction (tab, space to open menu, enter to open formular explorer).

To disable the CHTML output option that crashed @mbotsch 's chrome when chosen (for me I simply get a "file not found" error in the console but everything keeps working) we need a bit of custom menu code on the mathjax initialisation to disable the menu option.

For me everything seems to work when checking the test/math-deck.md tests as well as some slides from @mbotsch 's gm-slides.

What I do not know or can test is how the menu behaves on touch / pen devices. Please check that it does not open in whiteboard mode when tapping on formulas or similar things one might do while presenting math slides.

mbotsch commented 8 months ago

On my example slide set (please always test on this one!) I get these errors/warnings:

At least the last one we have to fix.