Skip to main content
All CollectionsAccessibilityModifiers
Accessibility Label Modifier
Accessibility Label Modifier

Add a label to a layer to describe its contents for Apple’s VoiceOver.

Updated over 8 months ago

Users can turn on Apple’s VoiceOver to hear descriptions of visual elements on the screen. Use the Accessibility Label modifier to provide an accessibility label for a layer that doesn’t display text, such as an icon. For example, you could use this modifier to label a Button that plays music with the text “Play”.

Note

Don’t include text in the label that repeats information that users already have. For example, don’t use the label “Play button” because a Button already has a trait that identifies it as a Button.

Did this answer your question?