Fix nav aria labels
parent
80b99b0ffd
commit
8bcb8c505f
|
@ -131,8 +131,8 @@
|
||||||
|
|
||||||
{% if page.taxonomies and page.taxonomies.tags %}
|
{% if page.taxonomies and page.taxonomies.tags %}
|
||||||
<div class="post-tags">
|
<div class="post-tags">
|
||||||
<span class="meta">Tagged with</span>
|
<span class="meta" id="tagged-with-label">This post is tagged with</span>
|
||||||
<nav class="nav tags">
|
<nav class="nav tags" aria-labelledby="tagged-with-label">
|
||||||
<ul class="tags">
|
<ul class="tags">
|
||||||
{% for tag in page.taxonomies.tags %}
|
{% for tag in page.taxonomies.tags %}
|
||||||
<li><a href="{{ get_taxonomy_url(kind='tags', name=tag) | safe }}">{{ tag }}</a></li>
|
<li><a href="{{ get_taxonomy_url(kind='tags', name=tag) | safe }}">{{ tag }}</a></li>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<a href={{ config.base_url }}><img class=logo src="/image/favicon.svg" alt="" />{{ config.title }}</a>
|
<a href={{ config.base_url }}><img class=logo src="/image/favicon.svg" alt="" />{{ config.title }}</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<nav>
|
<nav aria-label="Site navigation">
|
||||||
{% for menu in config.extra.menu %}
|
{% for menu in config.extra.menu %}
|
||||||
{%- set external = menu.external | default(value=false) -%}
|
{%- set external = menu.external | default(value=false) -%}
|
||||||
{%- if external %}
|
{%- if external %}
|
||||||
|
|
Loading…
Reference in New Issue