commit 3b099e971aa80336009e73e08920df9798614f6e
parent e3a62c0dfe165ed2b564be7c5646ded141af75d3
Author: zorkow <volker.sorge@gmail.com>
Date: Mon, 14 Sep 2015 02:03:21 +0100
Fixes labelling for close buttons.
Diffstat:
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/unpacked/extensions/HelpDialog.js b/unpacked/extensions/HelpDialog.js
@@ -155,8 +155,8 @@
]],
["a",{href:"http://www.mathjax.org/"},["www.mathjax.org"]],
["span",{id: "MathJax_HelpClose", onclick: HELP.Remove,
- onkeydown: HELP.Keydown, tabIndex: 0,
- "aria-label": "Close", "aria-describedby": "Close window"},
+ onkeydown: HELP.Keydown, tabIndex: 0, role: "button",
+ "aria-label": "Close window"},
[["span",{},["\u00D7"]]]
]
]));
diff --git a/unpacked/extensions/MathMenu.js b/unpacked/extensions/MathMenu.js
@@ -1048,8 +1048,8 @@
["a",{href:"http://www.mathjax.org/"},["www.mathjax.org"]],
["span",{className:"MathJax_MenuClose",id:"MathJax_AboutClose",
onclick:MENU.About.Remove,
- onkeydown: MENU.About.Keydown, tabIndex: 0,
- "aria-label": "Close", "aria-describedby": "Close window"},
+ onkeydown: MENU.About.Keydown, tabIndex: 0, role: "button",
+ "aria-label": "Close window"},
[["span",{},"\u00D7"]]]
]);
about.focus();