Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(native): add accessibility role and state to participant list items
Muskan Kumarid05656039551
diff --git a/react/features/participants-pane/components/native/ParticipantItem.tsx b/react/features/participants-pane/components/native/ParticipantItem.tsxindex 5cb2dbde4c..ed7f45bda5 100644--- a/react/features/participants-pane/components/native/ParticipantItem.tsx+++ b/react/features/participants-pane/components/native/ParticipantItem.tsx@@ -108,10 +108,17 @@ function ParticipantItem({audioIconData?.labelKey ? t(audioIconData.labelKey) : ''].filter(Boolean).join(', ');+ const isInteractive = Boolean(onPress);+ const accessibilityRole = isInteractive ? 'button' : undefined;+ const accessibilityState = { disabled: !isInteractive };+return (<View style = { styles.participantContainer as StyleProp<ViewStyle> } ><TouchableOpacityaccessibilityLabel = { accessibleLabels }+ accessibilityRole = { accessibilityRole }+ accessibilityState = { accessibilityState }+ disabled = { !isInteractive }onPress = { onPress }style = { styles.participantContent as StyleProp<ViewStyle> }><Avatar