commit 21a10de3eb061fd8a6b860fb23ed94db1af75920
parent ae99be9f67b7de6c0b27bf3e74d10a484ad97202
Author: Peter Krautzberger <p.krautzberger@gmail.com>
Date: Mon, 30 Nov 2015 21:34:16 +0100
Update AssistiveMML
Add `role=presentation` to root element and parent of the plain MathML
Fixes #1235
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/unpacked/extensions/AssistiveMML.js b/unpacked/extensions/AssistiveMML.js
@@ -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++;
}