Change CSS to that recommended by the Yahoo Accessibility team at https://developer.yahoo.com/blogs/ydn/clip-hidden-content-better-accessibility-53456.html
This commit is contained in:
parent
f3273f6e62
commit
d8357a2d03
|
@ -55,9 +55,15 @@
|
||||||
span = HTML.Element("span",{
|
span = HTML.Element("span",{
|
||||||
isMathJax: true,
|
isMathJax: true,
|
||||||
style:{
|
style:{
|
||||||
position:"absolute!important",
|
position:"absolute",
|
||||||
left:"-100000px", top:"auto", height:"1px", width:"1px",
|
clip: (HUB.Browser.isMSIE && (document.documentMode||0) < 8 ?
|
||||||
"padding-top":"1px", display:"block"
|
"rect(1px 1px 1px 1px)" : "rect(1px, 1px, 1px, 1px)"),
|
||||||
|
padding: "1 0 0 0",
|
||||||
|
border: "0",
|
||||||
|
height: "1px",
|
||||||
|
width: "1px",
|
||||||
|
overflow: "hidden",
|
||||||
|
display:"block"
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
span.innerHTML = mml;
|
span.innerHTML = mml;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user