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:
parent
7338da0cdb
commit
c81be77929
@ -12,9 +12,9 @@
|
||||
|
||||
{% include nav-home.html %}
|
||||
|
||||
<div id="content">
|
||||
<main id="content" role="main">
|
||||
{{ content }}
|
||||
</div>
|
||||
</main>
|
||||
|
||||
{% include footer.html %}
|
||||
</body>
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user