From: Mark Otto Date: Wed, 4 Sep 2013 19:08:07 +0000 (-0700) Subject: Fixes #10417: Document `.hidden` in the Helper classes *Screen reader content* section X-Git-Tag: v3.0.1~65 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ce9b4d0419b1afbea11afe65a47c82966a89a2a;p=thirdparty%2Fbootstrap.git Fixes #10417: Document `.hidden` in the Helper classes *Screen reader content* section --- 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 %}