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
Make terminal tab hover keyboard accessible #177283
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
has some conflicts
@meganrogge it's working well on latest/mac now. |
@Tyriar now I see it in the command palette and running that works, but the keyboard shortcut still doesn't work for me when there's just a single tab. |
@meganrogge oh ok, in that case it's kind of working as designed... That keybinding is important on macOS and it disables all chords. Does it work when the focus is in the tabs list? If so I think this situation is fine as it's accessible, the fact that you could show the hover while the terminal was focused was just a bonus. |
I worry because this feature is super nice, but as I mentioned, most screen reader users will have only one terminal open here, which is the case where this won't work atm. Could we set a higher weight for this keybinding as compared with clear? Or use a different one that does not involve |
ctrlCmd+I wouldn't be discoverable though as it's not used elsewhere. How about we disable cmd+k in a11y mode as I doubt it would be useful there anyway? |
@meganrogge could you test this again? I'm not on my mac atm |
There's a new
Terminal: Show or Focus Hover
command which shows it and then focuses it if screen reader optimized mode is on.focusTrap
is used so if you hit escape when focused, focus will return to the previous element (probably the actual terminal).Fixes #177232