mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
a11y: move label for select boxes #307
This commit is contained in:
parent
12db60ec5e
commit
5f34d107d0
1 changed files with 2 additions and 2 deletions
|
@ -57,10 +57,10 @@
|
|||
<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">
|
||||
<label class="a11y-only" for="select-language">{{ T "Language" }}</label>
|
||||
<select id="select-language" onchange="location = baseUri + this.value;">
|
||||
{{- $pageLang := .Page.Lang }}
|
||||
{{- range .Page.AllTranslations }}
|
||||
|
@ -82,10 +82,10 @@
|
|||
</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">
|
||||
<label class="a11y-only" for="select-variant">{{ T "Theme" }}</label>
|
||||
<select id="select-variant" onchange="window.variants && variants.changeVariant( this.value );">
|
||||
{{- $firstvariant := true }}
|
||||
{{- range $themevariants }}
|
||||
|
|
Loading…
Reference in a new issue