Skip to content

Commit e9a11d4

Browse files
only21milcodex
andauthored
fix(mobile): name iOS environment buttons for VoiceOver (#23740)
Co-authored-by: GPT-6.1 Sol <[email protected]>
1 parent 5b0cf58 commit e9a11d4

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
@@ -283,6 +283,9 @@ export function ConnectionEnvironmentRow(props: {
283283
)}
284284

285285
<Pressable
286+
accessibilityRole="button"
287+
accessibilityLabel="Reconnect environment"
288+
accessibilityState={{ disabled: !enabled }}
286289
className="h-[42px] w-[42px] items-center justify-center rounded-[14px] border border-input-border bg-input active:opacity-70 disabled:opacity-40"
287290
disabled={!enabled}
288291
onPress={() => props.onReconnect(props.environment.environmentId)}
@@ -296,6 +299,8 @@ export function ConnectionEnvironmentRow(props: {
296299
</Pressable>
297300

298301
<Pressable
302+
accessibilityRole="button"
303+
accessibilityLabel="Remove environment"
299304
className="h-[42px] w-[42px] items-center justify-center rounded-[14px] border border-danger-border bg-danger active:opacity-70"
300305
onPress={() => props.onRemove(props.environment.environmentId)}
301306
>

0 commit comments

Comments
 (0)