diff options
| author | Chris Rebert <[email protected]> | 2016-06-23 23:17:36 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2016-06-23 23:17:36 -0700 |
| commit | 4e163001358170c747e3443982e15dc41d3dcabe (patch) | |
| tree | 6de1b57a083213f430246b1d11f4431113315563 /docs/_includes/getting-started/accessibility.html | |
| parent | ea3e63a6efbb1f7c149e9883ad1c72d0c6c9decb (diff) | |
| download | bootstrap-4e163001358170c747e3443982e15dc41d3dcabe.tar.xz bootstrap-4e163001358170c747e3443982e15dc41d3dcabe.zip | |
Port #20165 to v3
[skip sauce]
Diffstat (limited to 'docs/_includes/getting-started/accessibility.html')
| -rw-r--r-- | docs/_includes/getting-started/accessibility.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/_includes/getting-started/accessibility.html b/docs/_includes/getting-started/accessibility.html index 2198a601a..eb3935ce5 100644 --- a/docs/_includes/getting-started/accessibility.html +++ b/docs/_includes/getting-started/accessibility.html @@ -3,7 +3,7 @@ <p class="lead">Bootstrap follows common web standards and—with minimal extra effort—can be used to create sites that are accessible to those using <abbr title="Assistive Technology" class="initialism">AT</abbr>.</p> <h2>Skip navigation</h2> - <p>If your navigation contains many links and comes before the main content in the DOM, add a <code>Skip to main content</code> link before the navigation (for a simple explanation, see this <a href="http://a11yproject.com/posts/skip-nav-links/">A11Y Project article on skip navigation links</a>). Using the <code>.sr-only</code> class will visually hide the skip link, and the <code>.sr-only-focusable</code> class will ensure that the link becomes visible once focused (for sighted keyboard users).</p> + <p>If your navigation contains many links and comes before the main content in the DOM, add a <code>Skip to main content</code> link before the navigation (for a simple explanation, see this <a href="http://a11yproject.com/posts/skip-nav-links">A11Y Project article on skip navigation links</a>). Using the <code>.sr-only</code> class will visually hide the skip link, and the <code>.sr-only-focusable</code> class will ensure that the link becomes visible once focused (for sighted keyboard users).</p> <div class="bs-callout bs-callout-danger" id="callout-skiplinks"> <p>Due to long-standing shortcomings/bugs in Chrome (see <a href="https://code.google.com/p/chromium/issues/detail?id=262171" title="Chromium bug tracker - Issue 262171: Focus should cycle from named anchor">issue 262171 in the Chromium bug tracker</a>) and Internet Explorer (see this article on <a href="http://accessibleculture.org/articles/2010/05/in-page-links/">in-page links and focus order</a>), you will need to make sure that the target of your skip link is at least programmatically focusable by adding <code>tabindex="-1"</code>.</p> <p>In addition, you may want to explicitly suppress a visible focus indication on the target (particularly as Chrome currently also sets focus on elements with <code>tabindex="-1"</code> when they are clicked with the mouse) with <code>#content:focus { outline: none; }</code>.</p> |
