Skip to content

Commit b1c9fb4

Browse files
author
Lou Huang
committed
Add additional roles and move "main" roles into the proper places (hopefully)
1 parent 7102c02 commit b1c9fb4

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

_layouts/customize.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
{% include nav-main.html %}
1313

1414
<!-- Docs page layout -->
15-
<div class="bs-header" id="content" role="main">
15+
<div class="bs-header" id="content" role="banner">
1616
<div class="container">
1717
<h1>{{ page.title }}</h1>
1818
<p>{{ page.lead }}</p>
@@ -23,7 +23,7 @@ <h1>{{ page.title }}</h1>
2323
<!-- Callout for the old docs link -->
2424
{% include old-bs-docs.html %}
2525

26-
<div class="bs-customize-placeholder">
26+
<div class="bs-customize-placeholder" role="main">
2727
<div class="container bs-docs-container">
2828
<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>
2929
</div>

_layouts/default.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
{% include nav-main.html %}
1313

1414
<!-- Docs page layout -->
15-
<div class="bs-header" id="content" role="main">
15+
<div class="bs-header" id="content" role="banner">
1616
<div class="container">
1717
<h1>{{ page.title }}</h1>
1818
<p>{{ page.lead }}</p>
@@ -26,7 +26,7 @@ <h1>{{ page.title }}</h1>
2626
<div class="container bs-docs-container">
2727
<div class="row">
2828
<div class="col-lg-3">
29-
<div class="bs-sidebar">
29+
<div class="bs-sidebar" role="complementary">
3030
<ul class="nav bs-sidenav">
3131
{% if page.slug == "getting-started" %}
3232
{% include nav-getting-started.html %}
@@ -42,7 +42,7 @@ <h1>{{ page.title }}</h1>
4242
</ul>
4343
</div>
4444
</div>
45-
<div class="col-lg-9">
45+
<div class="col-lg-9" role="main">
4646
{{ content }}
4747
</div>
4848
</div>
@@ -51,7 +51,7 @@ <h1>{{ page.title }}</h1>
5151

5252
<!-- Footer
5353
================================================== -->
54-
<footer class="bs-footer">
54+
<footer class="bs-footer" role="contentinfo">
5555
{% include social-buttons.html %}
5656

5757
<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>

_layouts/home.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<!-- Callout for the old docs link -->
1818
{% include old-bs-docs.html %}
1919

20-
<div class="container" id="content" role="main">
20+
<div class="container" role="contentinfo">
2121
{% include social-buttons.html %}
2222

2323
<ul class="bs-masthead-links">

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
base_url: "./"
55
---
66

7-
<div class="bs-masthead" id="content">
7+
<div class="bs-masthead" id="content" role="main">
88
<div class="container">
99
<h1>Bootstrap 3</h1>
1010
<p class="lead">Sleek, intuitive, and powerful mobile-first front-end framework for faster and easier web development.</p>

0 commit comments

Comments
 (0)