Fix join call button in header having two labels (#34293)
Both the tooltip ("Video call") and the aria-label attribute ("Join video call") were trying to set different labels. I propose that the "Video call" tooltip should actually count as a description.
This commit is contained in:
@@ -112,7 +112,7 @@ function RoomHeaderButtons({
|
|||||||
|
|
||||||
const joinCallButton = (
|
const joinCallButton = (
|
||||||
<Tooltip
|
<Tooltip
|
||||||
label={
|
description={
|
||||||
videoCallDisabledReason ??
|
videoCallDisabledReason ??
|
||||||
(activeCallSessionType === CallType.Voice ? _t("voip|voice_call") : _t("voip|video_call"))
|
(activeCallSessionType === CallType.Voice ? _t("voip|voice_call") : _t("voip|video_call"))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user