-
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
Improve the Document Overview panel accessibility #45899
Comments
Note: I do realize the 'tabs' not really ARIA tabs are inspired by the similar tabs the Settings sidebar e.g. Post and Block. That's not a standard implementation. At that time we thought that using an ARIA tabs pattern for just two tabs was, in a way, overkill and maybe not efficient. From a keyboard interaction perspective, tabs make totally sense when there's a lot of tabs. When there are just two tabs, maybe is faster and more efficient to not use an ARIA tabs pattern. However, kayhe it's time to revise that decision. As discussed in other issues, the TabPanel component is going to be improved and used in more places so there's.a greater value in using it as a standardized, consistent, interaction model. |
also cc @ntsekouras |
We cannot do that because of a couple cascading events.
Agreed. This was also confusing to me. I attempt to fix it by returning null on the component, but I agree a message would be better. Maybe Gutenberg design team can weigh in. In the above PR, I am working hard to make the shortcuts more useful for users. I just can't do much when I do not have lasting help. Contributors get pulled off to go work on "other important parts of the project" and I am left with PRs I want to land but have little hope of finishing. React is not really a blind friendly language in the way of E2E testing. Bugs need to be caught visually. Thanks. |
Most of the issues brought up here have now been fixed. We should now have support to focus the tab panel now that it uses real tabs vs. the fake button tabs. I propose closing this in favor of a follow-up with clear instructions on how to move forward since this issue now contains out of date info. Thanks. |
FWIW, we're also working on a new version of the |
Description
Follow-up to #44788
The List view, Document information and outline have been merged within a single panel: the 'Document Overview'.
There are a few accessibility issues that were discussed in #44788 that need improvements. Other accessibility issues pre-date before the refactoring.
In short:
TabPanel
for better accessibility. See alsoTabPanel
: add support for manual activation of tabs #45390 but i'm not sure that is a dependency as I'm not sure manual activation of the tabs is really needed here./Cc @ciampo @jameskoster @alexstine
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Initial focus is set to the wrong place:
List view is empty on a new post:
Characters / Words info less readable (and thus less accessible)
compared to the previous version:
Environment info
No response
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: