Update AssistiveMML

Add `role=presentation` to root element and parent of the plain MathML

Fixes #1235
This commit is contained in:
Peter Krautzberger 2015-11-30 21:34:16 +01:00
parent ae99be9f67
commit 21a10de3eb

View File

@ -98,8 +98,9 @@
isMathJax: true, className: "MJX_Assistive_MathML"
});
span.innerHTML = mml;
frame.setAttribute("role", "presentation");
frame.firstChild.setAttribute("aria-hidden","true");
span.setAttribute("aria-readonly","true");
span.setAttribute("role", "presentation");
}
state.i++;
}