iOS Accessibility Labels
[]
Mobile A11y
When iOS presents your app’s interface to assistive technologies such as VoiceOver, Voice Control or Switch Control, it’s not passing your app’s screen, but a representation of the screen in what’s known as an accessibility tree, or accessible user interface as Apple often call it. // Setting an accessibility label to 'My accessibility label' in UIKit myButton.accessibilityLabel = "My accessibility label" // Setting an accessibility label to 'My accessibility label' in SwiftUI Button(action: {}) { Text("Button") }.accessibility(label: Text("My accessibility label"))