Skip to content

Commit

Permalink
update accessibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Supereg committed Dec 15, 2024
1 parent bca1b68 commit 678f3cc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Sources/SpeziViews/Views/Button/InfoButton.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,7 @@ public struct InfoButton: View {
.foregroundColor(.accentColor)
.buttonStyle(.borderless) // ensure button is clickable next to the other button
.accessibilityIdentifier("info-button")
#if !(TEST || targetEnvironment(simulator)) // accessibility actions cannot be unit tested
.accessibilityAction(named: label, action)
.accessibilityHidden(true)
#endif
}

/// Create a new info button.
Expand Down

0 comments on commit 678f3cc

Please sign in to comment.