template/_base: Add aria role attribute

This commit is contained in:
Tom Wiesing 2023-01-11 22:04:27 +01:00
parent a00195be16
commit 092304f891
No known key found for this signature in database

View file

@ -1,14 +1,14 @@
<!DOCTYPE html>
<head>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<title>{{ block "title" . }}WissKI Distillery{{ end }}</title>
{{ block "styles" . }}styles{{ end }}
</head>
</head>
<body>
<body>
{{ .BaseContext.DoInitCheck }}
<nav class="pure-menu pure-menu-horizontal">
<ul class="pure-menu-list">
@ -19,7 +19,7 @@
{{ end }}
</ul>
</nav>
<nav class="breadcrumbs" role="group" aria-label="Breadcrumbs">
<nav class="breadcrumbs" role="navigation" aria-label="Breadcrumbs">
{{ range .BaseContext.Crumbs }}
<a class="{{ if .Active }}active{{ end }}" href="{{ .Path }}">{{ .Title }}</a>
{{ end }}
@ -45,4 +45,6 @@
{{ block "scripts" . }}scripts{{ end }}
</body>
</body>
</html>