mirror of
https://github.com/vector-im/element-call.git
synced 2026-05-19 10:54:36 +00:00
Fix tests (accessibility issues with new buttons)
This commit is contained in:
@@ -98,7 +98,7 @@ export const MediaMuteAndSwitchButton: FC<MediaMuteAndSwitchButtonProps> = ({
|
||||
IconOptions: VideoCallIcon,
|
||||
disabledLabel: t("stop_video_button_label"),
|
||||
enabledLabel: t("start_video_button_label"),
|
||||
optionsButtonLabel: t("settings.devices.microphone"),
|
||||
optionsButtonLabel: t("settings.devices.camera"),
|
||||
};
|
||||
break;
|
||||
case "audio":
|
||||
@@ -152,6 +152,7 @@ export const MediaMuteAndSwitchButton: FC<MediaMuteAndSwitchButtonProps> = ({
|
||||
{/* The mute button lives inside */}
|
||||
<Button
|
||||
iconOnly
|
||||
role="switch"
|
||||
Icon={enabled ? IconEnabled : IconDisabled}
|
||||
onClick={(e) => {
|
||||
onMuteClick?.();
|
||||
|
||||
Reference in New Issue
Block a user