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,5 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
@ -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 }}
@ -46,3 +46,5 @@
{{ block "scripts" . }}scripts{{ end }}
</body>
</html>