diff --git a/unpacked/jax/output/CommonHTML/jax.js b/unpacked/jax/output/CommonHTML/jax.js index f110fe42e2dcee38166492ebb5a77db3bc3f773a..f7f9fc935da74529b46dd832136929d6a32d383b 100644 --- a/unpacked/jax/output/CommonHTML/jax.js +++ b/unpacked/jax/output/CommonHTML/jax.js @@ -1718,7 +1718,6 @@ } var alttext = this.Get("alttext"); if (alttext && !node.getAttribute("aria-label")) node.setAttribute("aria-label",alttext); - if (!node.getAttribute("role")) node.setAttribute("role","math"); if (this.CHTML.pwidth) { node.parentNode.style.width = this.CHTML.pwidth; node.parentNode.style.minWidth = this.CHTML.mwidth||CHTML.Em(this.CHTML.w); diff --git a/unpacked/jax/output/HTML-CSS/jax.js b/unpacked/jax/output/HTML-CSS/jax.js index eeb1db78ce599438816be41ff7163c6d6dbddef0..74529cfc54d7337c79be9c8e654f2ead4b5615ee 100644 --- a/unpacked/jax/output/HTML-CSS/jax.js +++ b/unpacked/jax/output/HTML-CSS/jax.js @@ -567,7 +567,7 @@ {prev.parentNode.removeChild(prev)} // // Add the span, and a div if in display mode, - // then set the role and mark it as being processed + // then mark it as being processed // jax = script.MathJax.elementJax; if (!jax) continue; jax.HTMLCSS = {display: (jax.root.Get("display") === "block")} @@ -2902,7 +2902,6 @@ span = this.HTMLcreateSpan(nobr); var alttext = this.Get("alttext"); if (alttext && !span.getAttribute("aria-label")) span.setAttribute("aria-label",alttext); - if (!span.getAttribute("role")) span.setAttribute("role","math"); stack = HTMLCSS.createStack(span); box = HTMLCSS.createBox(stack); // Move font-size from outer span to stack to avoid line separation // problem in strict HTML mode diff --git a/unpacked/jax/output/PlainSource/jax.js b/unpacked/jax/output/PlainSource/jax.js index a34ca39d430631f227823c5e543c3ef6eb1b2e25..c98de6ca787a77aea159c9880390f54f8a51984c 100644 --- a/unpacked/jax/output/PlainSource/jax.js +++ b/unpacked/jax/output/PlainSource/jax.js @@ -69,8 +69,7 @@ prev.parentNode.removeChild(prev); } // - // Add the span, and a div if in display mode, - // then set the role and mark it as being processed + // Add the span, and a div if in display mode // jax = script.MathJax.elementJax; if (!jax) continue; diff --git a/unpacked/jax/output/PreviewHTML/jax.js b/unpacked/jax/output/PreviewHTML/jax.js index 1ff2c6c2e52c1224e5749bbe33c2730c521aa106..ab63b94a590ce0703f73a358a6a7f0b5bfd73254 100644 --- a/unpacked/jax/output/PreviewHTML/jax.js +++ b/unpacked/jax/output/PreviewHTML/jax.js @@ -189,7 +189,7 @@ {prev.parentNode.removeChild(prev)} // // Add the span, and a div if in display mode, - // then set the role and mark it as being processed + // then mark it as being processed // jax = script.MathJax.elementJax; if (!jax) continue; jax.PHTML = {display: (jax.root.Get("display") === "block")}