-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Split Settings: No ability to tab or use keyboard shortcuts to get to different sections #46866
Comments
You can though by using the arrow keys there, no? |
Yes! Apologies. In my mind, one would be able to tab based on being able to tab between Template and Block. I am no expert here but wanted to be sure this feedback was passed along. @joedolson curious for your thoughts here around the current experience. |
FWIW, the difference in behaviour here arises from the styles/settings tabs being true tabs in a To make the behaviour consistent, I'd guess we'll need to refactor one of these areas. I'd suggest a11y feedback would drive which one is chosen. |
I was thinking about this topic recently in general. One of the problems with tabpanels is communicating to the user that when they've entered it, they're now in a context that support arrow navigation, rather than tab navigation. For screen reader users, the type of control is announced on entry; but for sighted users on a keyboard, there's no feedback to inform usage. So there are two questions here: one is whether these two interactions should be the same control. In my opinion, other than the difference between text vs icon controls, they otherwise operate the same way, and it makes sense for them to be the same type of control. For keyboard navigation, it's more efficient for them to both be tabpanels, as that becomes only a single tab stop. The second question is "how can we communicate to sighted users that these controls are operated via arrow keys". I have a couple of suggestions:
Visual affordances to convey anytime you're in a collection of controls that are grouped with arrow navigation would be very helpful to the usability of the editor. |
If you have time, this would be another great issue to review and chime in on @alexstine especially with the tabs being stabilized #47045 |
The tab panel is fine from an screen reader standpoint, but the suggestions @joedolson made are valid ones. Likely needs a follow-up issue or at least a PR to edit the I did leave feedback in earlier PRs about different blocks having different default selected tabs. I think this is a majorly bad UX issue. However, if this is no longer the case and every block defaults to the same tab, I am happy with it. Thanks. |
Thanks so much, Alex! @aaronrobertshaw if you have a chance, would you mind iterating here to edit the TabPanel component as suggested above? |
It appears we already have an issue for replacing the Post/Block tabs with a TabPanel: #43414. We might need some design feedback on the potential visual affordances proposed for the TabPanel component itself. I should be able to devote a little time to switching the Post/Block tabs to the TabPanel early next week. |
@aaronrobertshaw were you able to dig into the switching the Post/Block tabs to the TabPanel? Trying to see what, if anything, could get into 6.2. |
@annezazu unfortunately, #43414 has been blocked by #46704 and in turn #48086. There should be some further movement on this today with new tests being added to verify the current TabPanel component's behaviour and protect against regressions when we allow it as a controlled component. Once that is done, there'll likely be some extra work in updating #46704 before we can finally switch the Post/Block tabs to real tabs. |
Got it! Thank you for the update. Nick moved this to punted and it sounds like that should stick. Perhaps something we can get into a point release. |
Given it should help improve a11y, getting it into a point release sounds like a plan to me. 👍 |
Update: The PR enhancing tests for the current |
Closing this out as #43414 was later merged! You can tab to settings then arrow over to styles. |
Description
This was found as part of the nineteenth call for testing for the FSE Outreach Program:
Essentially, there's no way right now to get to the different tabs either with shortcuts or tabbing. cc @aaron
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
keyboard.tabbing.and.no.shortcuts.mov
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: