Do not set the default role for the body tag (#542)

* Do not set the default role for the body tag

See https://www.w3.org/TR/html5/sections.html#the-body-element And:
https://github.com/sphinx-doc/sphinx/pull/3495

* Remove nav role from nav tag
This commit is contained in:
Aaron Carlisle 2018-01-15 16:09:24 -05:00 committed by GitHub
parent 636f37ae67
commit 5062c200d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,7 +86,7 @@
</head>
<body class="wy-body-for-nav" role="document">
<body class="wy-body-for-nav">
{% block extrabody %} {% endblock %}
<div class="wy-grid-for-nav">
@ -152,7 +152,7 @@
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
{# MOBILE NAV, TRIGGLES SIDE NAV ON TOGGLE #}
<nav class="wy-nav-top" role="navigation" aria-label="top navigation">
<nav class="wy-nav-top" aria-label="top navigation">
{% block mobile_nav %}
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="{{ pathto(master_doc) }}">{{ project }}</a>