a11y: label for select boxes #307

This commit is contained in:
Sören Weber 2022-10-04 21:58:14 +02:00
parent 7623f79f5e
commit 430f928f35
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D

View file

@ -57,6 +57,7 @@
<ul> <ul>
<li id="select-language-container" class="footerLangSwitch{{if $showlangswitch}} showLangSwitch{{end}}"> <li id="select-language-container" class="footerLangSwitch{{if $showlangswitch}} showLangSwitch{{end}}">
<div class="padding select-container"> <div class="padding select-container">
<label class="a11y-only" for="select-language">{{ T "Language" }}</label>
<i class="fas fa-language fa-fw"></i> <i class="fas fa-language fa-fw"></i>
<span>&nbsp;</span> <span>&nbsp;</span>
<div class="select-style"> <div class="select-style">
@ -81,6 +82,7 @@
</li> </li>
<li id="select-variant-container" class="footerVariantSwitch{{if $showvariantswitch}} showVariantSwitch{{end}}"> <li id="select-variant-container" class="footerVariantSwitch{{if $showvariantswitch}} showVariantSwitch{{end}}">
<div class="padding select-container"> <div class="padding select-container">
<label class="a11y-only" for="select-variant">{{ T "Theme" }}</label>
<i class="fas fa-paint-brush fa-fw"></i> <i class="fas fa-paint-brush fa-fw"></i>
<span>&nbsp;</span> <span>&nbsp;</span>
<div class="select-style"> <div class="select-style">