Merge branch 'issue997' into develop. Issue #997.
This commit is contained in:
commit
24bfd6baf2
|
@ -2826,7 +2826,7 @@
|
|||
var alttext = this.Get("alttext");
|
||||
if (alttext && !span.getAttribute("aria-label")) span.setAttribute("aria-label",alttext);
|
||||
if (!span.getAttribute("role")) span.setAttribute("role","math");
|
||||
span.setAttribute("tabindex",0);
|
||||
// span.setAttribute("tabindex",0); // causes focus outline, so disable for now
|
||||
var stack = HTMLCSS.createStack(span), box = HTMLCSS.createBox(stack), math;
|
||||
// Move font-size from outer span to stack to avoid line separation
|
||||
// problem in strict HTML mode
|
||||
|
|
|
@ -2083,7 +2083,7 @@
|
|||
var alttext = this.Get("alttext");
|
||||
if (alttext && !svg.element.getAttribute("aria-label")) span.setAttribute("aria-label",alttext);
|
||||
if (!svg.element.getAttribute("role")) span.setAttribute("role","math");
|
||||
span.setAttribute("tabindex",0);
|
||||
// span.setAttribute("tabindex",0); // causes focus outline, so disable for now
|
||||
span.appendChild(svg.element); svg.element = null;
|
||||
//
|
||||
// Handle indentalign and indentshift for single-line displays
|
||||
|
|
Loading…
Reference in New Issue
Block a user