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(breakout-rooms): add accessibility role and expanded state to breakout room accordion (#18107)

Muskan Kumariedfad477ef52
diff --git a/react/features/breakout-rooms/components/native/BreakoutRoom.tsx b/react/features/breakout-rooms/components/native/BreakoutRoom.tsx
index bd2bfc221e..498e7b6df1 100644
--- a/react/features/breakout-rooms/components/native/BreakoutRoom.tsx
+++ b/react/features/breakout-rooms/components/native/BreakoutRoom.tsx
@@ -56,9 +56,14 @@ export const BreakoutRoom = ({ room }: IProps) => {
room = { room } />
), [ room ]);
+ const accessibilityState = { expanded: !collapsed };
+
return (
<View>
<TouchableOpacity
+ accessibilityLabel = { title }
+ accessibilityRole = 'button'
+ accessibilityState = { accessibilityState }
onLongPress = { _openContextMenu }
onPress = { _toggleCollapsed }
style = { styles.breakoutRoom as ViewStyle }>