0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 10:52:19 +01:00

Merge pull request #10786 from acspike/skip-nav-link-wording

Alter wording of example Skip Nav link to improve pronunciation
This commit is contained in:
Mark Otto 2013-09-24 17:24:00 -07:00
commit 63206a17e8

View File

@ -868,7 +868,7 @@ if (navigator.userAgent.match(/IEMobile\/10\.0/)) {
<p>If your navigation contains many links and comes before the main content in the DOM, add a <code>Skip to content</code> link immediately after your opening <code>&lt;body&gt;</code> tag. <a href="http://a11yproject.com/posts/skip-nav-links/">(read why)</a></p> <p>If your navigation contains many links and comes before the main content in the DOM, add a <code>Skip to content</code> link immediately after your opening <code>&lt;body&gt;</code> tag. <a href="http://a11yproject.com/posts/skip-nav-links/">(read why)</a></p>
{% highlight html %} {% highlight html %}
<body> <body>
<a href="#content" class="sr-only">Skip to content</a> <a href="#content" class="sr-only">Skip to main content</a>
<div class="container" id="content"> <div class="container" id="content">
The main page content. The main page content.
</div> </div>