Permalink
Browse files

accessibility MDL-24163 Change to accesshide definition to avoid rare…

… Safari/VoiceOver crashes
  • Loading branch information...
1 parent dcba9eb commit 302b1c4becd6b4be5bf46f1bf7a9044e7605d057 @sammarshallou sammarshallou committed Oct 11, 2010
Showing with 5 additions and 2 deletions.
  1. +5 −2 theme/standard/styles_layout.css
@@ -481,11 +481,14 @@ img.iconkbhelp {
/*Accessibility: text 'seen' by screen readers but not visual users. Fixed for RTL languages, example Farsi. */
.accesshide {
position:absolute;
- top:-100000px;
- left:10px;
+ left:-10000px;
font-weight:normal;
font-size:1em;
}
+.dir-rtl .accesshide {
+ right:-10000px;
+ left:auto;
+}
.invisiblefieldset {
display:inline;

0 comments on commit 302b1c4

Please sign in to comment.