From d03f9ffdafb967b1d815c02ebd50ad9270bb9ad1 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Thu, 10 Jun 2021 14:34:46 +0200 Subject: [PATCH] Improve aria tags for nav --- views/partials/header.pug | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/views/partials/header.pug b/views/partials/header.pug index 7b14b07..2147e9f 100644 --- a/views/partials/header.pug +++ b/views/partials/header.pug @@ -1,12 +1,12 @@ header nav .spacer - a.text(href='/' aria-label='Go to homepage') Home - a.text(href='/getting-started' aria-label='Go to getting started guide') Getting started - a.logo(href='/' aria-label='Go to homepage') + a.text(href='/') Home + a.text(href='/getting-started') Getting started + a.logo(href='/' aria-label='Home') img(src='/static/img/logo_circle.png' alt='Keyoxide' aria-hidden='true') nav - a.text(href='/about' aria-label='Go to about page') About - a.text(href='/guides' aria-label='Go to list of guides') Guides - a.text(href='/faq' aria-label='Go to frequently asked questions') FAQ + a.text(href='/about') About + a.text(href='/guides') Guides + a.text(href='/faq' aria-label='Frequently asked questions') FAQ .spacer