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(native): add accessibility labels to notification dismiss and poll close buttons (#18021)

Muskan Kumari536e84f020fc
diff --git a/react/features/notifications/components/native/Notification.tsx b/react/features/notifications/components/native/Notification.tsx
index 1d3641b720..1f77692543 100644
--- a/react/features/notifications/components/native/Notification.tsx
+++ b/react/features/notifications/components/native/Notification.tsx
@@ -224,6 +224,7 @@ const Notification = ({
</View>
</View>
<IconButton
+ accessibilityLabel = { t('dialog.dismiss') }
color = { BaseTheme.palette.icon04 }
onPress = { onDismiss }
src = { IconCloseLarge }
diff --git a/react/features/polls/components/native/PollAnswer.tsx b/react/features/polls/components/native/PollAnswer.tsx
index 9d0d81d109..77fb413ac1 100644
--- a/react/features/polls/components/native/PollAnswer.tsx
+++ b/react/features/polls/components/native/PollAnswer.tsx
@@ -44,6 +44,7 @@ const PollAnswer = (props: AbstractProps) => {
</View>
{
pollSaved && <IconButton
+ accessibilityLabel = { t('polls.closeButton') }
onPress = { () => dispatch(removePoll(poll)) }
src = { IconCloseLarge } />
}