Fixes labelling for close buttons.

This commit is contained in:
zorkow 2015-09-14 02:03:21 +01:00
parent e3a62c0dfe
commit 3b099e971a
2 changed files with 4 additions and 4 deletions

View File

@ -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"]]]
]
]));

View File

@ -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();