https://kotlinlang.org logo
Title
d

Dzenan Bronja

07/11/2021, 10:45 AM
Hi all, I am currently working on the desktop app using Jetpack compose. One of the requirements is to get talkback reading the components (description) loud for people with sight issues. I tried to use semantics and set contentDescription as described: https://developer.android.com/jetpack/compose/accessibility, but seems like it doesn’t work for me. I am working on Mac and when I enable VoiceOver, it reads only the name of the app, when app is started or in focus, but it doesn’t focus any component from the app except the main window. I am not sure if this is a bug, or I just don’t know how to set it up, but any help is more than appreciated. If there is a working sample somewhere, or anything I can use as a reference, it would be really great. Thank you very much in advance.
👀 4
j

jim

07/11/2021, 6:19 PM
Accessibility support is on our internal roadmaps, but not yet done. It's one of the reasons we haven't yet reached a 1.0 compose-desktop release. I would tentatively anticipate accessibility by end of year, but no promises as timelines are hard to predict. It is a priority item though.
o

olonho

07/12/2021, 6:34 AM
core infrastructure and Android port works, we need to bind accessibility to desktop OS mechanisms. @Dzenan Bronja could you please elaborate, if you have other accessibility requirements in your app, and what platforms shall it support?
d

Dzenan Bronja

07/12/2021, 7:34 AM
@jim @olonho Thank you very much for fast answers. Actually we need for now only VoiceOver feature, to read loud description from the components, and it should work on Desktop App with following operating systems: Mac, Windows and Linux.