mirror of
https://github.com/remvze/moodist.git
synced 2026-02-28 09:03:12 +08:00
fix: add aria labels
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user