mirror of
https://github.com/McShelby/hugo-theme-relearn
synced 2025-04-30 17:28:49 +08:00
a11y: label for select boxes #307
This commit is contained in:
parent
7623f79f5e
commit
430f928f35
@ -57,6 +57,7 @@
|
||||
<ul>
|
||||
<li id="select-language-container" class="footerLangSwitch{{if $showlangswitch}} showLangSwitch{{end}}">
|
||||
<div class="padding select-container">
|
||||
<label class="a11y-only" for="select-language">{{ T "Language" }}</label>
|
||||
<i class="fas fa-language fa-fw"></i>
|
||||
<span> </span>
|
||||
<div class="select-style">
|
||||
@ -81,6 +82,7 @@
|
||||
</li>
|
||||
<li id="select-variant-container" class="footerVariantSwitch{{if $showvariantswitch}} showVariantSwitch{{end}}">
|
||||
<div class="padding select-container">
|
||||
<label class="a11y-only" for="select-variant">{{ T "Theme" }}</label>
|
||||
<i class="fas fa-paint-brush fa-fw"></i>
|
||||
<span> </span>
|
||||
<div class="select-style">
|
||||
|
Loading…
x
Reference in New Issue
Block a user