feat(a11y): add skip-to-main link and main landmark id
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user