Fix nav aria labels
parent
80b99b0ffd
commit
8bcb8c505f
|
@ -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>
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue