Skip to content

Commit 94fdf4d

Browse files
committed
Move AssistiveMML and InTabOrder menus to new Accessibility submenu (coordinates with MathJax-a11y#153 to move accessibility menu items to the same location)
1 parent ac64449 commit 94fdf4d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

unpacked/extensions/MathMenu.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1555,9 +1555,7 @@
15551555
ITEM.RADIO(["SVG","SVG"], "renderer", {action: MENU.Renderer}),
15561556
ITEM.RADIO(["PlainSource","Plain Source"],"renderer", {action: MENU.Renderer, value:"PlainSource"}),
15571557
ITEM.RULE(),
1558-
ITEM.CHECKBOX(["FastPreview","Fast Preview"], "FastPreview"),
1559-
ITEM.CHECKBOX(["AssistiveMML","Assistive MathML"], "assistiveMML", {action:MENU.AssistiveMML}),
1560-
ITEM.CHECKBOX(["InTabOrder","Include in Tab Order"], "inTabOrder")
1558+
ITEM.CHECKBOX(["FastPreview","Fast Preview"], "FastPreview")
15611559
),
15621560
ITEM.SUBMENU("MathPlayer", {hidden:!HUB.Browser.isMSIE || !CONFIG.showMathPlayer,
15631561
disabled:!HUB.Browser.hasMathPlayer},
@@ -1591,6 +1589,10 @@
15911589
ITEM.RULE().With({hidden:!CONFIG.showDiscoverable, name:["","discover_rule"]}),
15921590
ITEM.CHECKBOX(["Discoverable","Highlight on Hover"], "discoverable", {hidden:!CONFIG.showDiscoverable})
15931591
),
1592+
ITEM.SUBMENU(["Accessibility","Accessibility"],
1593+
ITEM.CHECKBOX(["AssistiveMML","Assistive MathML"], "assistiveMML", {action:MENU.AssistiveMML}),
1594+
ITEM.CHECKBOX(["InTabOrder","Include in Tab Order"], "inTabOrder")
1595+
),
15941596
ITEM.SUBMENU(["Locale","Language"], {hidden:!CONFIG.showLocale, ltr:true},
15951597
ITEM.RADIO("en", "locale", {action: MENU.Locale}),
15961598
ITEM.RULE().With({hidden:!CONFIG.showLocaleURL, name:["","localURL_rule"]}),

0 commit comments

Comments
 (0)