Fix nav aria labels

pull/1/head
mat ess 2022-08-13 21:28:32 -04:00
parent 80b99b0ffd
commit 8bcb8c505f
2 changed files with 3 additions and 3 deletions

View File

@ -131,8 +131,8 @@
{% if page.taxonomies and page.taxonomies.tags %}
<div class="post-tags">
<span class="meta">Tagged with</span>
<nav class="nav tags">
<span class="meta" id="tagged-with-label">This post is tagged with</span>
<nav class="nav tags" aria-labelledby="tagged-with-label">
<ul class="tags">
{% for tag in page.taxonomies.tags %}
<li><a href="{{ get_taxonomy_url(kind='tags', name=tag) | safe }}">{{ tag }}</a></li>

View File

@ -3,7 +3,7 @@
<a href={{ config.base_url }}><img class=logo src="/image/favicon.svg" alt="" />{{ config.title }}</a>
</div>
<nav>
<nav aria-label="Site navigation">
{% for menu in config.extra.menu %}
{%- set external = menu.external | default(value=false) -%}
{%- if external %}