Skip to content

Commit 4a2e6ae

Browse files
committed
fix(mobile): retain connection action accessibility
1 parent cbb40ed commit 4a2e6ae

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎apps/mobile/src/features/connection/ConnectionEnvironmentRow.tsx‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,9 @@ function ConnectionEnvironmentEditor(
346346
</Pressable>
347347

348348
<Pressable
349+
accessibilityRole="button"
350+
accessibilityLabel="Reconnect environment"
351+
accessibilityState={{ disabled: !enabled }}
349352
className="h-[42px] w-[42px] items-center justify-center rounded-[14px] border border-input-border bg-input active:opacity-70 disabled:opacity-40"
350353
disabled={!enabled}
351354
onPress={() => props.onReconnect(props.environment.environmentId)}
@@ -359,6 +362,8 @@ function ConnectionEnvironmentEditor(
359362
</Pressable>
360363

361364
<Pressable
365+
accessibilityRole="button"
366+
accessibilityLabel="Remove environment"
362367
className="h-[42px] w-[42px] items-center justify-center rounded-[14px] border border-danger-border bg-danger active:opacity-70"
363368
onPress={() => props.onRemove(props.environment.environmentId)}
364369
>

0 commit comments

Comments
 (0)