Skip to content

Commit

Permalink
feat: add aria-label to language select button
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierniki committed Sep 8, 2023
1 parent 1809a88 commit ff2c0b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/LangSelect/LangSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function LangSelect({ lang }: LangSelectProps) {

return (
<Select value={lang} onValueChange={(locale) => router.push(`/${[locale, ...rest].join("/")}`)}>
<SelectTrigger className="w-[100px]">
<SelectTrigger className="w-[100px]" aria-label="language select">
<SelectValue>{lang}</SelectValue>
</SelectTrigger>
<SelectContent>
Expand Down

0 comments on commit ff2c0b2

Please sign in to comment.