Kotlin Multiplatform Development
 

Support for iOS accessibility features

Edit pageLast modified: 25 September 2024

Compose Multiplatform accessibility support allows people with disabilities to interact with the Compose Multiplatform UI as comfortably as with the native iOS UI:

  • Screen readers and VoiceOver can access the content of the Compose Multiplatform UI.

  • The Compose Multiplatform UI supports the same gestures as the native iOS UI for navigation and interaction.

This is possible because semantics data produced by Compose APIs is now mapped to native objects and properties that are consumed by iOS Accessibility Services. For most interfaces built with Material widgets, this should happen automatically.

You can also use this semantic data in testing and other automation: properties such as testTag will correctly map to native accessibility properties such as accessibilityIdentifier. This makes semantic data from Compose Multiplatform available to Accessibility Services and XCTest framework.

iOS accessibility support is in the early stages of development. If you have trouble with this feature, we would appreciate your feedback in the #compose-ios Slack channel or as an issue in YouTrack.