-
Notifications
You must be signed in to change notification settings - Fork 30.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Empty tree should not be focusable #2347
Comments
@alexandrudima an empty tree can still have a context menu associated. are you saying we should detect the case where the tree is empty && has no context menu? I am not sure this would confuse people why sometimes they see blue and sometimes they do not. |
Good point about the context menu case, so maybe it makes sense to tab into an empty explorer tree given that's the only place where a context menu can be invoked. IMHO in this case, tabbing into an empty variable list in the debugger is pretty useless. |
@alexandrudima but that is up to the tree right? e.g. I can also tab into watch expressions to create a new one there. |
Right clicking in empty spaces appears to be common:
|
@alexandrudima sorry can you clarify what your last comment means? |
gif time :) I can do a contextmenu with the mouse in areas where I cannot go to via tab focus. e.g. the whitespace on this webpage or the desktop. I only assume there must be alternative ways to trigger those actions since I cannot get to focus the whitespace to trigger a contextmenu with the keyboard |
Well yeah, might be. All I am saying is that imho it makes sense to draw the blue border in the tree as long as you can trigger the context menu (using the context menu key on the keyboard). Even if there are other ways I find this a nice gesture. |
We should take this to UX meeting. |
Even if there is no context menu available for a focusable UI panel I think we should still allow the user to tab into it to set focus. This lets them know and discover the different UI panels and components. For example, a screen reader might read out something about the empty panel. |
Yeah, also a good point. In fact every tree has a meaningful aria label assigned now. |
Closing. |
Testing #2145
e.g. debug variables tree
The text was updated successfully, but these errors were encountered: