diff options
author | Laussel Loïc <loic.laussel@orange.com> | 2017-05-05 12:10:28 +0300 |
---|---|---|
committer | Patrick H. Lauke <redux@splintered.co.uk> | 2017-05-05 12:10:28 +0300 |
commit | c81be7792990a2da0d60bf61b876db85bba9a61a (patch) | |
tree | 98af385d79b9676176446ba03873a6d0acf4abc0 /docs | |
parent | 7338da0cdb98e61c8b3741c29abea8e52357603b (diff) |
Add missing <main> element to documentation
includes explicit `role="main"` for IE10/IE11 compatibility
Diffstat (limited to 'docs')
-rw-r--r-- | docs/_layouts/default.html | 4 | ||||
-rw-r--r-- | docs/_layouts/docs.html | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index dab3d56655..e3642ac6d1 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -12,9 +12,9 @@ {% include nav-home.html %} - <div id="content"> + <main id="content" role="main"> {{ content }} - </div> + </main> {% include footer.html %} </body> diff --git a/docs/_layouts/docs.html b/docs/_layouts/docs.html index 4c719c5d8a..c44275f1f8 100644 --- a/docs/_layouts/docs.html +++ b/docs/_layouts/docs.html @@ -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> |