-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Toolbars should only occupy one tab stop #106441
Comments
@SaschaCowley thanks a lot for providing feedback. I would be open to making this change, however I first pinged our accessibility community on https://gitter.im/Microsoft/vscode-a11y to get their feedback |
I am in support of this change. Reduces the number of tab stops and is a well-known pattern. |
@MarcoZehe thanks for feedback. I will expriment with making a change regarding this some time in January |
I really like this change, however I would prefer to do it at the start of a milestone to have a full milestone to gather feedback, thus assigning to February. I have a PR branch which is work in progress and I plan to continue on it in February #114769 |
hmmm actually this would fix one more thing. there is the weirdness that you can forward-tab through all toolbar items, but when you are in the explorer tree and shift+tab you don't land on the buttons themselves. that may be not fully related because I believe you don't land on any of the buttons so you would have to tab once anyway. |
@isidorn When are you going to finish and merge this so we can try it out? Sounds like an interesting change. |
@MarcoZehe I plan to look into this later today / early next week. So expect an Insiders with this on Monday / Tuseday next week. |
Started working on this and seems to work ok and I plan to push to insiders soon. One corner case which I hit:
Let me know if you have other ideas. |
For this, the Toolbar Design Pattern has an answer: Make the edit box the last item in the toolbar, and allow LeftArrow to move out of it, but RightArrow should just stay at the end if reached. |
@isidorn In addition to the official version, in Firefox we took a slightly different approach:
It's a little more complex, but also has the advantage of being more flexible with the location of a text field within such a toolbar container. And I believe MS Office takes a similar approach to that, e.g in the Ribbons in Word or Excel. |
@MarcoZehe thanks a lot! Firefox approach sounds like my option 2. I personally think it is nicer. Also it is good to be aligned with Office. |
just my two cents. i prefer the second variant too. |
I have pushed a first version of this, please try it out in tomorrow's vscode insiders and let me know how it goes. Thanks! |
Steps to Reproduce:
Tab
out of the toolbar.The standard behaviour is that the tools in the toolbar occupy only a single position in the tab order, and are navigable with the arrow keys. While navigation by arrow keys works, each toolbar item still occupies its own position in the tab order.
See Toolbar Example.
Does this issue occur when all extensions are disabled?: Yes/No
Yes.
The text was updated successfully, but these errors were encountered: