Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 817 Bytes

File metadata and controls

11 lines (8 loc) · 817 Bytes

Accessibility group - iOS

On iOS, you can group elements by setting isAccessibilityElement to true on the parent element. Don't forget to set an accessibilityLabel for the group.

Sometimes it can be useful to also the shouldGroupAccessibilityChildren property to group the accessibility elements that are children of the element, regardless of their positions on the screen.

group.isAccessibilityElement = true
group.shouldGroupAccessibilityChildren = true
group.accessibilityLabel = "Appt group"