stylesheets/stitch/patterns/accessibility/_hide-content.scss in stitch-0.0.3 vs stylesheets/stitch/patterns/accessibility/_hide-content.scss in stitch-0.1.0
- old
+ new
@@ -1,10 +1,10 @@
/* Hide for both screenreaders and browsers
css-discuss.incutio.com/wiki/Screenreader_Visibility */
@mixin hide-from-all {
display:none;
- visibility: hidden;
+ visibility:hidden;
}
/* Hide only visually, but have it available for screenreaders
www.webaim.org/techniques/css/invisiblecontent/
Solution from: j.mp/visuallyhidden - Thanks Jonathan Neal! */
@@ -13,8 +13,8 @@
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
clip: rect(1px, 1px, 1px, 1px);
}
/* Hide visually and from screenreaders, but maintain layout */
-@mixin invisible-with-layout {
+@mixin invisible {
visibility: hidden;
}
\ No newline at end of file