Improve accessibility features

This commit is contained in:
Paul Nicoué 2022-06-14 16:08:23 +02:00
parent b138a0df21
commit d5d951c8df
8 changed files with 112 additions and 48 deletions

View file

@ -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 %}