Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(i18n): translate hardcoded accessibility labels

Oshi Sharmabd355ed44568
diff --git a/react/features/chat/components/web/ClosedCaptionsTab.tsx b/react/features/chat/components/web/ClosedCaptionsTab.tsx
index ec2fe8c52c..6c7954e7d6 100644
--- a/react/features/chat/components/web/ClosedCaptionsTab.tsx
+++ b/react/features/chat/components/web/ClosedCaptionsTab.tsx
@@ -92,7 +92,7 @@ const ClosedCaptionsTab = ({
return (
<div className = { classes.emptyContent }>
<Button
- accessibilityLabel = 'Start Closed Captions'
+ accessibilityLabel = { t('closedCaptionsTab.startClosedCaptionsButton') }
appearance = 'primary'
disabled = { isButtonPressed }
labelKey = 'closedCaptionsTab.startClosedCaptionsButton'
diff --git a/react/features/welcome/components/WelcomePage.web.tsx b/react/features/welcome/components/WelcomePage.web.tsx
index 333b89c11c..774437cd9a 100644
--- a/react/features/welcome/components/WelcomePage.web.tsx
+++ b/react/features/welcome/components/WelcomePage.web.tsx
@@ -233,7 +233,7 @@ class WelcomePage extends AbstractWelcomePage<IProps> {
<form onSubmit = { this._onFormSubmit }>
<input
aria-disabled = 'false'
- aria-label = 'Meeting name input'
+ aria-label = { t('welcomepage.accessibilityLabel.roomname') }
autoFocus = { true }
className = 'enter-room-input'
id = 'enter_room_field'
@@ -248,7 +248,7 @@ class WelcomePage extends AbstractWelcomePage<IProps> {
<button
aria-disabled = 'false'
- aria-label = 'Start meeting'
+ aria-label = { t('welcomepage.startMeeting') }
className = 'welcome-page-button'
id = 'enter_room_button'
onClick = { this._onFormSubmit }