Add visually hidden heading for footer navigation

This commit is contained in:
Helen Chong 2024-09-15 09:02:17 +08:00
parent 278cc3d533
commit 89194a0511
1 changed files with 1 additions and 2 deletions

View File

@ -1,8 +1,7 @@
{% extends "global/footer.njk" %} {% extends "global/footer.njk" %}
{% block footerContent %} {% block footerContent %}
<p>Made with ♥ by {{ sitemeta.siteAuthor.name }} since 11 September 2022</p> <h2 class="visually-hidden">Footer Navigation:</h2>
{% set currentUrl %}{{ page.url }}{% endset %} {% set currentUrl %}{{ page.url }}{% endset %}
<ul class="inline-nav footer__links"> <ul class="inline-nav footer__links">
<li><a href="{{ sitemeta.feedPath }}">RSS Feed</a></li> <li><a href="{{ sitemeta.feedPath }}">RSS Feed</a></li>