Update AssistiveMML
Add `role=presentation` to root element and parent of the plain MathML Fixes #1235
This commit is contained in:
parent
ae99be9f67
commit
21a10de3eb
|
@ -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++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user