@@ -280,6 +280,9 @@ const GroupSettingsScreen = ({ route, navigation }) => {
280280 < IconButton
281281 icon = "account-remove"
282282 onPress = { ( ) => onKick ( m . userId , displayName ) }
283+ accessibilityLabel = { `Remove ${ displayName } from group` }
284+ accessibilityRole = "button"
285+ accessibilityHint = "Removes this member from the group"
283286 />
284287 ) : null
285288 }
@@ -307,6 +310,7 @@ const GroupSettingsScreen = ({ route, navigation }) => {
307310 onChangeText = { setName }
308311 editable = { ! ! isAdmin }
309312 style = { { marginBottom : 12 } }
313+ accessibilityLabel = "Group Name"
310314 />
311315 < Text style = { { marginBottom : 8 } } > Icon</ Text >
312316 < View style = { styles . iconRow } >
@@ -317,6 +321,8 @@ const GroupSettingsScreen = ({ route, navigation }) => {
317321 style = { styles . iconBtn }
318322 onPress = { ( ) => setIcon ( i ) }
319323 disabled = { ! isAdmin }
324+ accessibilityLabel = { `Select icon ${ i } ` }
325+ accessibilityRole = "button"
320326 >
321327 { i }
322328 </ Button >
@@ -329,6 +335,8 @@ const GroupSettingsScreen = ({ route, navigation }) => {
329335 disabled = { ! isAdmin }
330336 icon = "image"
331337 style = { { marginRight : 12 } }
338+ accessibilityLabel = "Change group image"
339+ accessibilityRole = "button"
332340 >
333341 { pickedImage ? "Change Image" : "Upload Image" }
334342 </ Button >
@@ -354,6 +362,8 @@ const GroupSettingsScreen = ({ route, navigation }) => {
354362 loading = { saving }
355363 disabled = { saving }
356364 onPress = { onSave }
365+ accessibilityLabel = "Save Changes"
366+ accessibilityRole = "button"
357367 >
358368 Save Changes
359369 </ Button >
@@ -376,6 +386,8 @@ const GroupSettingsScreen = ({ route, navigation }) => {
376386 mode = "outlined"
377387 onPress = { onShareInvite }
378388 icon = "share-variant"
389+ accessibilityLabel = "Share invite code"
390+ accessibilityRole = "button"
379391 >
380392 Share invite
381393 </ Button >
@@ -392,6 +404,9 @@ const GroupSettingsScreen = ({ route, navigation }) => {
392404 textColor = "#d32f2f"
393405 onPress = { onLeave }
394406 icon = "logout-variant"
407+ accessibilityLabel = "Leave Group"
408+ accessibilityRole = "button"
409+ accessibilityHint = "You must settle balances before leaving"
395410 >
396411 Leave Group
397412 </ Button >
@@ -402,6 +417,9 @@ const GroupSettingsScreen = ({ route, navigation }) => {
402417 onPress = { onDeleteGroup }
403418 icon = "delete"
404419 style = { { marginTop : 8 } }
420+ accessibilityLabel = "Delete Group"
421+ accessibilityRole = "button"
422+ accessibilityHint = "Permanently deletes the group and all data"
405423 >
406424 Delete Group
407425 </ Button >
0 commit comments