aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorC. Lente <7017340+clente@users.noreply.github.com>2023-02-27 16:32:22 -0300
committerC. Lente <7017340+clente@users.noreply.github.com>2023-02-27 16:32:22 -0300
commitf65d96962b4d2ff8e750cd6dceb1dc92adce665e (patch)
treefe3c8ea83da68f2997f813bae0e54dc01370658c /layouts
parentbaccdd3df9bf1ab9a8f14077df52d9a4006e04c5 (diff)
downloadhugo-bearcub-f65d96962b4d2ff8e750cd6dceb1dc92adce665e.tar.gz
hugo-bearcub-f65d96962b4d2ff8e750cd6dceb1dc92adce665e.tar.bz2
Fix lighthouse uncrawlable links
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/nav.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html
index 5d06edf..9a6b352 100644
--- a/layouts/partials/nav.html
+++ b/layouts/partials/nav.html
@@ -17,7 +17,7 @@
{{ else }}
<!-- The complicated setup was necessary to make a grayed out link -->
{{ if not .Params.hideUntranslated }}
- <a class="disabled" href="">{{ .LanguageName }}</a>
+ <a class="disabled" role="link" aria-disabled="true">{{ .LanguageName }}</a>
{{ end }}
{{ end }}
{{ end }}