From 6ce9b4d0419b1afbea11afe65a47c82966a89a2a Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 4 Sep 2013 12:08:07 -0700 Subject: [PATCH] Fixes #10417: Document `.hidden` in the Helper classes *Screen reader content* section --- css.html | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/css.html b/css.html index 64540ad61c..c6701a66a2 100644 --- a/css.html +++ b/css.html @@ -2353,7 +2353,18 @@ For example, <section> should be wrapped as inline.

Screen reader content

-

Hide an element to all users except screen readers with .sr-only. Necessary for following accessibility best practices. Can also be used as a mixin.

+

Hide an element everywhere, including screen readers, with .hidden. Can also be used as a mixin.

+{% highlight html %} + +{% endhighlight %} +{% highlight css %} +// Usage as a Mixin +.example { + .hidden(); +} +{% endhighlight %} + +

Hide an element to all devices except screen readers with .sr-only. Necessary for following accessibility best practices. Can also be used as a mixin.

{% highlight html %} Skip to content {% endhighlight %}