fix(frontend): pindah aria-label mic meter ke wrapper role=status
This commit is contained in:
1 parent
4e0c21d86c
commit
81ce5188ea
1 file changed
+6
-6
@@ -166,13 +166,13 @@ export function VoiceView({
|
||||
{micOn ? "Mic live" : "Push-to-talk"}
|
||||
</Button>
|
||||
{micOn && (
|
||||
<div className="flex items-center gap-2 rounded-[10px] border border-signal/30 bg-signal/[0.06] px-3 py-1.5">
|
||||
<div
|
||||
className="flex items-center gap-2 rounded-[10px] border border-signal/30 bg-signal/[0.06] px-3 py-1.5"
|
||||
role="status"
|
||||
aria-label="Microphone level meter"
|
||||
>
|
||||
<Mic className="size-4 text-signal" />
|
||||
<Equalizer
|
||||
bars={micBars}
|
||||
className="w-28"
|
||||
aria-label="Microphone level"
|
||||
/>
|
||||
<Equalizer bars={micBars} className="w-28" />
|
||||
</div>
|
||||
)}
|
||||
<Button
|
||||
|
||||
Reference in new issue
Block a user