Skip to content

Commit 2f728e6

Browse files
authored
Accessibility fixes:
- footer unordered list fix - section headers added as list items instead of paragraphs
1 parent 28bba81 commit 2f728e6

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

docs/_includes/footer.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ <h2 class="nhsuk-u-visually-hidden">Support links</h2>
99
<a class="nhsuk-footer__list-item-link" href="{{ item.link | uri_escape }}">{{ item.title }}</a>
1010
</li>
1111
{% endfor %}
12-
<div>
13-
<p class="nhsuk-footer__copyright">&copy; NHS England</p>
14-
</div>
12+
</ul>
13+
<div>
14+
<p class="nhsuk-footer__copyright">&copy; NHS England</p>
15+
</div>
1516
</div>
1617
</div>
1718
</div>

docs/_layouts/page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<ul class="nhsuk-list nhsnotify-side-nav__list">
3030
{% for section in first_level %}
3131
{% if section.name != "" %}
32-
<p class="nhsuk-u-font-weight-bold nhsnotify-side-nav__list-section">{{ section.name }}</p>
32+
<li class="nhsuk-u-font-weight-bold nhsnotify-side-nav__list-section">{{ section.name }}</li>
3333
{% endif %}
3434
{% assign sorted = section.items | sort: 'nav_order' %}
3535
{% for post in sorted %}

0 commit comments

Comments
 (0)