0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

Add missing <main> element to documentation

includes explicit `role="main"` for IE10/IE11 compatibility
This commit is contained in:
Laussel Loïc 2017-05-05 11:10:28 +02:00 committed by Patrick H. Lauke
parent 7338da0cdb
commit c81be77929
2 changed files with 4 additions and 4 deletions

View File

@ -12,9 +12,9 @@
{% include nav-home.html %}
<div id="content">
<main id="content" role="main">
{{ content }}
</div>
</main>
{% include footer.html %}
</body>

View File

@ -24,10 +24,10 @@
<div class="col-12 col-md-3 push-md-9 bd-sidebar">
{% include nav-docs.html %}
</div>
<div class="col-12 col-md-9 pull-md-3 bd-content">
<main class="col-12 col-md-9 pull-md-3 bd-content" role="main">
<h1 class="bd-title" id="content">{{ page.title }}</h1>
{{ content }}
</div>
</main>
</div>
</div>