Open
Description
Description
Tab and Shift+Tab keyboard navigation is inconsistent.
Tab should navigate to the proceeding interactive control (typically rightward, downward). Shift+Tab should navigate to the preceding interactive control (typically leftward, upward). When reaching the last possible element, it'll usually loop back around.
However, how it decides what is "first" or "last" is inconsistent, especially with nested views. Sometimes, focus will loop within the parent view it is in, getting stuck there, rather than travel to the other parts of the page.
Steps to Reproduce
- Download https://github.com/rachelkang/recipeSearch
- Deploy to MacCatalyst device
- Turn on VoiceOver
- "Tab" key to navigate through interactive controls on the screen
- Notice VO gets stuck on "Search by meal type" buttons. Once reaching "Drinks", VO goes back to "Breakfast" and gets stuck in an infinite loop, rather than move on to "Balanced", the next button on the page
- "Shift+Tab" key back to navigate backwards
- Notice VO is able to escape, going back to the SearchBar
- Click on one of the buttons under "Search by diet" like "Balanced"
- Go back
- "Tab" through controls on the screen again, and notice it's probably different. (In my case, it goes through all the buttons, runs anywhere from 1 to infinite loops through the "Search by diet" buttons, and then if not infinite, sometimes goes to one or both of the bottom tabs, before going back up to the top. It's different every time. The important thing here is that it's wildly inconsistent.)
Link to public reproduction project repository
https://github.com/rachelkang/recipeSearch
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
macOS
Affected platform versions
macOS Ventura 13.2.1
Did you find any workaround?
No response
Relevant log output
No response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment