feat(a11y): add skip-to-main link and main landmark id

This commit is contained in:
2026-06-20 20:19:27 +02:00
parent ffcf156289
commit a7786f263f
2 changed files with 26 additions and 1 deletions
@@ -13,6 +13,7 @@
{{ assets.js()|raw }}
</head>
<body class="{% if page.template == 'map' %}map-page{% endif %}{% if page.template == 'home' or page.template == 'trip' %} home-page{% endif %}{% if page.template == 'story' %} template-story{% endif %}">
<a class="skip-link" href="#main-content">Skip to main content</a>
<header class="site-header">
<a class="site-title" href="{{ base_url_absolute }}">into the east</a>
{% block nav %}
@@ -22,7 +23,7 @@
</nav>
{% endblock %}
</header>
<main class="site-main">
<main class="site-main" id="main-content">
{% block content %}{% endblock %}
</main>
{{ assets.js('bottom')|raw }}