Hey everyone. I need help approaching accessibility navigation with the screen reader in compose.
An example : I have a button that opens a menu that lets you select files or take photos. Clicking on this button should focus on the first item in the list. Once the action has been performed, it would make sense to select the button to send.
How would you do this?
I thought of making a data class that represents the navigation state, when I click on my button, I update the class by specifying that my next focus is the item in the list.
I can then in compose use this state with the FocusRequester. This would work, but I'm going to have so many possibilities that I'm thinking there must be a simpler solution