diff options
Diffstat (limited to '_layouts')
| -rw-r--r-- | _layouts/customize.html | 5 | ||||
| -rw-r--r-- | _layouts/default.html | 9 | ||||
| -rw-r--r-- | _layouts/home.html | 3 |
3 files changed, 10 insertions, 7 deletions
diff --git a/_layouts/customize.html b/_layouts/customize.html index 28275c3e1..99b973c01 100644 --- a/_layouts/customize.html +++ b/_layouts/customize.html @@ -6,12 +6,13 @@ <!-- Place anything custom after this. --> </head> <body data-spy="scroll" data-target=".bs-sidebar"> + <a class="sr-only" href="#content">Skip navigation</a> <!-- Docs master nav --> {% include nav-main.html %} <!-- Docs page layout --> - <div class="bs-header"> + <div class="bs-header" id="content" role="banner"> <div class="container"> <h1>{{ page.title }}</h1> <p>{{ page.lead }}</p> @@ -22,7 +23,7 @@ <!-- Callout for the old docs link --> {% include old-bs-docs.html %} - <div class="bs-customize-placeholder"> + <div class="bs-customize-placeholder" role="main"> <div class="container bs-docs-container"> <p class="lead">Until RC2, the Bootstrap 3 customizer will be disabled. In the mean time, snag the <a href="{{ site.repo }}/releases">compiled CSS and JavaScript</a>. Hang tight!</p> </div> diff --git a/_layouts/default.html b/_layouts/default.html index 67b81b9e8..17431f91e 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -6,12 +6,13 @@ <!-- Place anything custom after this. --> </head> <body> + <a class="sr-only" href="#content">Skip navigation</a> <!-- Docs master nav --> {% include nav-main.html %} <!-- Docs page layout --> - <div class="bs-header"> + <div class="bs-header" id="content" role="banner"> <div class="container"> <h1>{{ page.title }}</h1> <p>{{ page.lead }}</p> @@ -25,7 +26,7 @@ <div class="container bs-docs-container"> <div class="row"> <div class="col-lg-3"> - <div class="bs-sidebar"> + <div class="bs-sidebar" role="complementary"> <ul class="nav bs-sidenav"> {% if page.slug == "getting-started" %} {% include nav-getting-started.html %} @@ -41,7 +42,7 @@ </ul> </div> </div> - <div class="col-lg-9"> + <div class="col-lg-9" role="main"> {{ content }} </div> </div> @@ -50,7 +51,7 @@ <!-- Footer ================================================== --> - <footer class="bs-footer"> + <footer class="bs-footer" role="contentinfo"> {% include social-buttons.html %} <p>Designed and built with all the love in the world by <a href="http://twitter.com/mdo" target="_blank">@mdo</a> and <a href="http://twitter.com/fat" target="_blank">@fat</a>.</p> diff --git a/_layouts/home.html b/_layouts/home.html index 588533766..6beee6c54 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -6,6 +6,7 @@ <!-- Place anything custom after this. --> </head> <body class="bs-docs-home"> + <a class="sr-only" href="#content">Skip navigation</a> <!-- Docs master nav --> {% include nav-main.html %} @@ -16,7 +17,7 @@ <!-- Callout for the old docs link --> {% include old-bs-docs.html %} - <div class="container"> + <div class="container" role="contentinfo"> {% include social-buttons.html %} <ul class="bs-masthead-links"> |
