diff options
Diffstat (limited to 'src/view/com/modals/Confirm.tsx')
-rw-r--r-- | src/view/com/modals/Confirm.tsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/view/com/modals/Confirm.tsx b/src/view/com/modals/Confirm.tsx index 6f7b062cf..f0c905d04 100644 --- a/src/view/com/modals/Confirm.tsx +++ b/src/view/com/modals/Confirm.tsx @@ -66,7 +66,12 @@ export function Component({ <TouchableOpacity testID="confirmBtn" onPress={onPress} - style={[styles.btn]}> + style={[styles.btn]} + accessibilityRole="button" + accessibilityLabel="Confirm" + // TODO: This needs to be updated so that modal roles are clear; + // Currently there is only one usage for the confirm modal: post deletion + accessibilityHint="Confirms a potentially destructive action"> <Text style={[s.white, s.bold, s.f18]}>Confirm</Text> </TouchableOpacity> )} |