Add jump link to the navigation menu

This commit is contained in:
Oliver Davies 2024-12-17 19:15:48 +00:00
parent 22b35921e8
commit cafc42cf62
2 changed files with 4 additions and 0 deletions

View file

@ -43,6 +43,8 @@
{% block styles %}{% endblock %} {% block styles %}{% endblock %}
</head> </head>
<body> <body>
<a class="sr-only focus:not-sr-only" href="#footer">Jump to the navigation menu</a>
{% block body %}{% endblock %} {% block body %}{% endblock %}
{# Add the Mastodon verification link so pages can be verified. #} {# Add the Mastodon verification link so pages can be verified. #}

View file

@ -40,6 +40,8 @@
</div> </div>
<footer class="mt-16 mb-6"> <footer class="mt-16 mb-6">
<a id="footer" tabindex="-1"></a>
{% include 'main-menu.html.twig' %} {% include 'main-menu.html.twig' %}
</footer> </footer>
</div> </div>