Skip to content

Commit

Permalink
Add h2 in front of footer navigation
Browse files Browse the repository at this point in the history
For easier navigation with screenreaders.

Thanks to @nkreer for the accessibility review.
  • Loading branch information
horazont committed Sep 30, 2019
1 parent 37f470c commit 75a5615
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion muchopper/web/templates/skeleton.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ <h1><a href="{{ url_for('index') }}">{% include "icon.svg" %}{{ config["APPNAME"
</header></form>
{% endblock %}
<main>{% block body %}{% endblock %}</main>
<nav id="nav-footer">
<h2 class="a11y-text">Navigation</h2>
<nav id="nav-footer" role="navigation">
<ul>
{%- for submenu in current_menu.children -%}
<li>{{ '' -}}
Expand Down

0 comments on commit 75a5615

Please sign in to comment.