diff options
| author | Chris Rebert <[email protected]> | 2014-02-10 10:46:17 -0800 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-02-10 10:46:17 -0800 |
| commit | dc5917bedfda321b72310209d2807ea10347f7ed (patch) | |
| tree | fe3f6162a936804f2670572c8ea11c8dcf83f31f /docs/css.html | |
| parent | c4e242bdb170be26e64e859c5636f3cb0285f679 (diff) | |
| download | bootstrap-dc5917bedfda321b72310209d2807ea10347f7ed.tar.xz bootstrap-dc5917bedfda321b72310209d2807ea10347f7ed.zip | |
update docs to include+use .sr-only-focusable
Diffstat (limited to 'docs/css.html')
| -rw-r--r-- | docs/css.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/css.html b/docs/css.html index 2a2d50097..7ed142cc8 100644 --- a/docs/css.html +++ b/docs/css.html @@ -2530,15 +2530,16 @@ For example, <code><section></code> should be wrapped as inline. {% endhighlight %} - <h3 id="helper-classes-screen-readers">Screen reader content</h3> - <p>Hide an element to all devices <strong>except screen readers</strong> with <code>.sr-only</code>. Necessary for following <a href="../getting-started/#accessibility">accessibility best practices</a>. Can also be used as a mixin.</p> + <h3 id="helper-classes-screen-readers">Screen reader and keyboard navigation content</h3> + <p>Hide an element to all devices <strong>except screen readers</strong> with <code>.sr-only</code>. Combine <code>.sr-only</code> with <code>.sr-only-focusable</code> to show the element again when it's focused (e.g. by a keyboard-only user). Necessary for following <a href="../getting-started/#accessibility">accessibility best practices</a>. Can also be used as mixins.</p> {% highlight html %} -<a class="sr-only" href="#content">Skip to main content</a> +<a class="sr-only sr-only-focusable" href="#content">Skip to main content</a> {% endhighlight %} {% highlight scss %} // Usage as a Mixin .skip-navigation { .sr-only(); + .sr-only-focusable(); } {% endhighlight %} |
