You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Extension tree that use vscode.open and vscode.diff commands should respect enter vs. space #193020
When discussing with Megan Rogge (@meganrogge) how we're going to improve accessibility for GitHub Pull Requests and Issues when opening a PR description we found that the built in Extensions view does the following:
Arrow keys are used to navigate between list/tree items
Enter opens the extension item and moves focus to the extension description webview editor
Space opens the extension item and keeps focus in the tree
Extension trees don't work the same way:
Arrow keys are used to navigate between list/tree items (same as above)
Both enter and space run the tree item command and keep focus in the tree
We already have special handling for vscode.open and vscode.diff command run from the tree view so that we can keep things ctrl+click as open to the side. We should also handle enter and space as the Extensions view does.
changed the title [-]Extension tree's that use `vscode.open` and `vscode.diff` commands should respect enter vs. space[/-][+]Extension tree that use `vscode.open` and `vscode.diff` commands should respect enter vs. space[/+]on Sep 13, 2023
Activity
[-]Extension tree's that use `vscode.open` and `vscode.diff` commands should respect enter vs. space[/-][+]Extension tree that use `vscode.open` and `vscode.diff` commands should respect enter vs. space[/+]Don't reset extension tree focus if an element already has focus
alexr00 commentedon Sep 18, 2023
Actually, looks like this already works. The problem was that we were preserving focus in the PR extension: microsoft/vscode-pull-request-github#5250
I did find another issue while investigating this though: #193346
Don't reset extension tree focus if an element already has focus (#19…