Improve aria tags for nav

This commit is contained in:
Yarmo Mackenbach 2021-06-10 14:34:46 +02:00
parent b9b409853d
commit d03f9ffdaf
No known key found for this signature in database
GPG key ID: 37367F4AF4087AD1

View file

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