mirror of
https://github.com/welpo/tabi.git
synced 2025-12-17 04:48:44 +01:00
♿️ feat(a11y): add skip to content link for keyboard navigation
This commit is contained in:
parent
daa8b1a412
commit
dd539722c7
22 changed files with 47 additions and 1 deletions
|
|
@ -34,8 +34,9 @@ This variable will hold all the text strings for the language #}
|
|||
{% include "partials/header.html" %}
|
||||
|
||||
<body{% if lang in rtl_languages %} dir="rtl"{% endif %}{% if config.extra.override_serif_with_sans %} class="use-sans-serif"{% endif %}>
|
||||
<a href="#main-content" id="skip-link">{{ macros_translate::translate(key="skip_to_content", default="Skip to content", language_strings=language_strings) }}</a>
|
||||
{% include "partials/nav.html" %}
|
||||
<div class="content">
|
||||
<div class="content" id="main-content">
|
||||
|
||||
{# Post page is the default #}
|
||||
{% block main_content %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue