hello, does anyone have a working example of app a...
# compose-ios
s
hello, does anyone have a working example of app accessibility in compose multiplatform? specifically where the UI is in compose mp and all the goodness of ios accessibility is still working as it should?
r
https://github.com/rschattauer/compose_multiplatform You need to use a real device to make it work accordingly. Simulator is buggy, see keynote if you want to see the related issue. What doesn't work for you?
s
do you mean the Simulator is buggy for compose or in general? we didn’t get any accessibility generated for iOS stuff using the ComposeViewController then read about a general “enable experimental feature” for accessibility. sorry I had a quick looks at that project, but I didn’t see anywhere are you defining accessibility keys and using them for components ? Specifically things you would typically do with accessibility is give more context for say the video player “tap to start video player” but also we might need to override the parent accessibility and ignore the children and redescribed the entire component’s accessibilityLabel or make it accessibilityHidden I don’t know the talk back equivalent yet , I’m still just a iOS developer.
r
You can use
testTag
which will translate to accessibilityIds. You can have a look at my presentation and scroll to "Accessibility" to get a glance and also have links. Does that help you?
👀 2