Post not yet marked as solved
Post marked as unsolved with 2 replies, 531 views
I am having trouble getting the Full Keyboard Access to focus items in the navigation bar.
Here is the sample code I'm using. When enabling Full Keyboard Access with an external keyboard, Button 1 and Button 2 is navigable, but Button 3 is not.
swift
NavigationView {
List {
Button("Button 1", action: {})
Button("Button 2", action: {})
}
.navigationBarItems(trailing: Button("Button 3", action: {}))
}
How do I make the navigation bar item visible to Full Keyboard Access? VoiceOver seems to find the element just fine. I was under the impression that this kind of functionality should come out of the box, but I suppose I am missing something.