Skip to content

What Makes a Button Focusable? #1126

Closed Answered by Losses
Losses asked this question in Q&A
Discussion options

You must be logged in to vote

After a very lengthy study, I have come to some conclusions: The FluentApp.router API internally calls WidgetApp, which effectively binds all the default shortcuts. Therefore, if your components are not within FluentApp.router, they will not respond to any shortcuts, including focus with Tab key. However, there is an important point to note: both WidgetApp and FluentApp have an parameter called shortcuts. If a developer passes parameters here, all default shortcut behaviors will be replaced. This includes Tab switching focus and switching focus with arrow keys. This part of the implementation is quite obscure, and developers should be constantly aware of it.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by bdlukaa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants