connectivedx / Phoenix

http://connectivedx.github.io/Phoenix/
33 stars 5 forks source link

Accessibility Class on Android 4.1 #80

Closed ajmueller closed 9 years ago

ajmueller commented 9 years ago

On a recent project, I had an issue with the accessibility class on Android 4.1 where its application to an anchor resulted in the anchor's text being displayed in the viewport:

image

The fix that I found in this case was to change the accessibility class to have the following styling:

.accessibility {
    height: 0;
    left: -999em;
    line-height: 0;
    position: absolute;
}
ajmueller commented 9 years ago

Validated on release branch.