Skip to content

Commit

Permalink
Accessibility fixes:
Browse files Browse the repository at this point in the history
- footer unordered list fix
- section headers added as list items instead of paragraphs
  • Loading branch information
jakecosgrove authored Feb 26, 2025
1 parent 28bba81 commit 2f728e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions docs/_includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ <h2 class="nhsuk-u-visually-hidden">Support links</h2>
<a class="nhsuk-footer__list-item-link" href="{{ item.link | uri_escape }}">{{ item.title }}</a>
</li>
{% endfor %}
<div>
<p class="nhsuk-footer__copyright">&copy; NHS England</p>
</div>
</ul>
<div>
<p class="nhsuk-footer__copyright">&copy; NHS England</p>
</div>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/_layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<ul class="nhsuk-list nhsnotify-side-nav__list">
{% for section in first_level %}
{% if section.name != "" %}
<p class="nhsuk-u-font-weight-bold nhsnotify-side-nav__list-section">{{ section.name }}</p>
<li class="nhsuk-u-font-weight-bold nhsnotify-side-nav__list-section">{{ section.name }}</li>
{% endif %}
{% assign sorted = section.items | sort: 'nav_order' %}
{% for post in sorted %}
Expand Down

0 comments on commit 2f728e6

Please sign in to comment.