Skip to content

Commit 0d631f4

Browse files
fix(mobile): retain accessibility hints for mixed toggle rows
1 parent 73446b8 commit 0d631f4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎apps/mobile/src/components/ListToggleRow.tsx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export function ListToggleRow(
2222
<Pressable
2323
accessibilityLabel={`Set ${props.label} on for selected environments`}
2424
accessibilityRole="button"
25+
accessibilityHint={props.description}
2526
accessibilityState={{ disabled: Boolean(props.disabled) }}
2627
disabled={props.disabled}
2728
className="rounded-full bg-subtle px-3 py-2 active:opacity-70"

0 commit comments

Comments
 (0)