Skip to content

[MacCatalyst] Tab and Shift+Tab keyboard navigation is inconsistent #14192

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

  1. Download https://github.com/rachelkang/recipeSearch
  2. Deploy to MacCatalyst device
  3. Turn on VoiceOver
  4. "Tab" key to navigate through interactive controls on the screen
  5. 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
  6. "Shift+Tab" key back to navigate backwards
  7. Notice VO is able to escape, going back to the SearchBar
  8. Click on one of the buttons under "Search by diet" like "Balanced"
  9. Go back
  10. "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

Metadata

Assignees

No one assigned

    Labels

    area-keyboardKeyboard, soft keyboardlegacy-area-a11yRelates to accessibilityplatform/macOS 🍏macOS / Mac Catalysts/a11y-researchings/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/a11yRelates to accessibilityt/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions