Compare commits

...

4 Commits

Author SHA1 Message Date
Wonderfall 3e21361da7 make button type explicit 2023-06-19 13:52:52 +02:00
Wonderfall 3ad501e45d add aria-label 2023-06-19 13:47:21 +02:00
Wonderfall 4ae8c414da fix input tag 2023-06-19 13:41:40 +02:00
Wonderfall 60282f60fc remove stray input 2023-06-19 13:38:37 +02:00
1 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@
{{- end }}
<div class="logo-switches">
{{- if (not site.Params.disableThemeToggle) }}
<button id="theme-toggle" accesskey="t" title="(Alt + T)">
<button type="button" id="theme-toggle" accesskey="t" title="(Alt + T)">
<svg id="moon" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24"
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round">
@ -94,7 +94,7 @@
</div>
</div>
{{- $currentPage := . }}
<input id="hamburger-input" type="checkbox"></input>
<input name="hamburger-input" id="hamburger-input" type="checkbox" aria-label="Navigation Menu">
<label id="hamburger-menu" for="hamburger-input"></label>
<div class="overlay"></div>
<ul id="menu">