Skip to content

Commit

Permalink
Add missing <main> element to documentation
Browse files Browse the repository at this point in the history
includes explicit `role="main"` for IE10/IE11 compatibility
  • Loading branch information
Lausselloic authored and patrickhlauke committed May 5, 2017
1 parent 7338da0 commit c81be77
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@

{% include nav-home.html %}

<div id="content">
<main id="content" role="main">
{{ content }}
</div>
</main>

{% include footer.html %}
</body>
Expand Down
4 changes: 2 additions & 2 deletions docs/_layouts/docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit c81be77

Please sign in to comment.