set ARIA properties in navbar
This commit is contained in:
parent
3fc2fa6136
commit
7d6ee7465b
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
||||||
<nav>
|
<nav>
|
||||||
<ul>
|
<ul>
|
||||||
{% for item in site.data.navigation %}
|
{% for item in site.data.navigation %}
|
||||||
<li{% if page.url == item.link %} class="current"{% endif %}>
|
<li {% if page.url == item.link %}class="current" aria-current="true"{% else %}aria-current="false"{% endif %}>
|
||||||
<a href="{{ item.link }}">{{ item.name }}</a>
|
<a href="{{ item.link }}">{{ item.name }}</a>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in a new issue