mirror of
https://github.com/remvze/moodist.git
synced 2025-12-17 00:44:14 +00:00
fix: add aria labels
This commit is contained in:
parent
fa71709f89
commit
85768d8bca
1 changed files with 2 additions and 1 deletions
|
|
@ -36,8 +36,9 @@ export function Sound({ label, src }: SoundProps) {
|
|||
onClick={() => setIsSelected(prev => !prev)}
|
||||
onKeyDown={() => setIsSelected(prev => !prev)}
|
||||
>
|
||||
<h3>{label}</h3>
|
||||
<h3 id={label}>{label}</h3>
|
||||
<input
|
||||
aria-labelledby={label}
|
||||
autoComplete="off"
|
||||
disabled={!isSelected}
|
||||
max={100}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue