Skip to content

Commit bd7e4ed

Browse files
committed
Add missing label for darkmode toggle
1 parent 5f9d438 commit bd7e4ed

File tree

1 file changed

+1
-1
lines changed
  • themes/CodeMeta-Pyramids/layouts/partials

1 file changed

+1
-1
lines changed

themes/CodeMeta-Pyramids/layouts/partials/nav.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
{{ end }}
2323
<li>
2424
<div class="form-check dark-light-toggler">
25-
<input class="form-check-input" type="checkbox" id="darkModeSwitch">
25+
<input class="form-check-input" type="checkbox" id="darkModeSwitch" aria-label="Switch between light and dark mode">
2626
<label class="form-check-label" for="darkModeSwitch">
2727
<i role="presentation" class='bi bi-sun-fill d-none' id='light-mode-bi' title="Light mode"></i>
2828
<i role="presentation" class='bi bi-moon-stars-fill' id='dark-mode-bi' title="Dark mode"></i>

0 commit comments

Comments
 (0)