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",{
|
||||
isMathJax: true,
|
||||
style:{
|
||||
position:"absolute!important",
|
||||
left:"-100000px", top:"auto", height:"1px", width:"1px",
|
||||
"padding-top":"1px", display:"block"
|
||||
position:"absolute",
|
||||
clip: (HUB.Browser.isMSIE && (document.documentMode||0) < 8 ?
|
||||
"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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user