Skip to content

Commit

Permalink
fix(#563): a11y - no Switch Control focus on spacings list
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre-Yves Lapersonne <[email protected]>
  • Loading branch information
pylapp committed Jan 25, 2024
1 parent 5eceeaf commit 5e730a5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ struct SpacingsPageDescription: View {
// ======================

private let spacings = Spacing.allCases

// ==========
// MARK: Body
// ==========
Expand All @@ -34,6 +34,7 @@ struct SpacingsPageDescription: View {
.padding(.horizontal, ODSSpacing.m)
}
.padding(.bottom, ODSSpacing.m)
.accessibilityRespondsToUserInteraction(false) // Switch Control must not focus this view
}
}

Expand Down

0 comments on commit 5e730a5

Please sign in to comment.