Added label to language selection (#1577)
This commit is contained in:
parent
e9c377b84a
commit
f49d312134
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ const LanguageSelect: FunctionalComponent<{ lang: string }> = ({ lang }) => {
|
||||||
<select
|
<select
|
||||||
class="language-select"
|
class="language-select"
|
||||||
value={lang}
|
value={lang}
|
||||||
|
aria-label="Select language"
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
const newLang = e.target.value;
|
const newLang = e.target.value;
|
||||||
if (newLang === 'en') {
|
if (newLang === 'en') {
|
||||||
|
|
Loading…
Reference in a new issue