diff --git a/unpacked/extensions/HelpDialog.js b/unpacked/extensions/HelpDialog.js index 2c16eb1ca..659408789 100644 --- 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 index 1bb2834af..a76a0122b 100644 --- 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();