mathjax / MathJax-dev

Build and release tools for the MathJax project
www.mathjax.org
33 stars 26 forks source link

Update the lab to handle the new menu structure #51

Closed dpvc closed 8 months ago

dpvc commented 8 months ago

This PR implements the changes needed to the lab in order to handle the new menu structure in the are-menus branch of Mathjax-src.

dpvc commented 8 months ago

The sre-menus branch is built on top of the fix/ff_safari_issues branch. Is that the problem?

dpvc commented 8 months ago

I've pushed another commit that fixes a problem where the lab would set both enableSpeech and enableBraille when one or the other is selected. This is why both aria labels were being generated even when only one menu selection was made or one checkbox was selected. So this new commit makes the aria-label and aria-braillelabel work correctly.

(It took me forever to find this, as I thought it was in the menu code, but it was actually in the lab. Argh!)