Skip to content

Commit 605ede2

Browse files
Fix Accessibility Violations for Navigation and Footer Elements
1 parent fcd872a commit 605ede2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

site/theme/templates/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<footer class="footer bg-purple">
2-
{% with show_logo='no' %}
2+
{% with show_logo='no', nav_label='Site Footer navigation' %}
33
{% include 'nav.html' %}
44
{% endwith %}
55
<div class="b-gray">

site/theme/templates/nav.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{% endif %}
99
</div>
1010
<div class="col-sm-6">
11-
<nav class="nav">
11+
<nav class="nav" aria-label="{{ nav_label | default('Main navigation') }}">
1212
<ul class="container-fluid">
1313
{% for link in NAV %}
1414
<li>

0 commit comments

Comments
 (0)