diff --git a/unpacked/jax/output/CommonHTML/jax.js b/unpacked/jax/output/CommonHTML/jax.js index 7acf1eae0..beb7380a8 100644 --- a/unpacked/jax/output/CommonHTML/jax.js +++ b/unpacked/jax/output/CommonHTML/jax.js @@ -1722,7 +1722,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 7bb5eea84..804e87542 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 aa6211564..f71587e58 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 1b17be10c..5a449ebe6 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")}