Improve accessibility features
This commit is contained in:
parent
b138a0df21
commit
d5d951c8df
8 changed files with 112 additions and 48 deletions
|
@ -7,14 +7,14 @@
|
|||
{% block main %}
|
||||
<main>
|
||||
|
||||
<section class="home-section">
|
||||
<section class="home-section" aria-hidden="true">
|
||||
|
||||
<div class="home">
|
||||
<nav class="home__nav" aria-label="Menu">
|
||||
{% set navItemNo = 1 %}
|
||||
{% for gallery in pages.template('gallery') %}
|
||||
<div class="home__nav-item-{{ navItemNo }}">
|
||||
<a href="{{ gallery.url }}" target="_self" class="home__nav-link">{{ gallery.title }}</a>
|
||||
<a href="{{ gallery.url }}" target="_self" class="home__nav-link" tabindex="-1">{{ gallery.title }}</a>
|
||||
</div>
|
||||
{% set navItemNo = navItemNo + 1 %}
|
||||
{% endfor %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue