-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Components: Improve Toolbar #18619
Comments
Re-sharing my comment #18534 (comment):
|
There are still some blocks missing. I'll make a list of them. |
Missing blocks:
|
I'm creating this issue to place together the steps necessary to improve both the API and the accessibility of the
Toolbar
component in@wordpress/components
. This work started on #17875, but, since the PR has become too complex, we've chosen to break it into more parts:[Components: Add accessible Toolbar #18534] Introduce an
__experimental
accessibleToolbar
component in@wordpress/components
[Components: Improve ToolbarButton #18931] Improve
ToolbarButton
so that it serves more use cases than just being anIconButton
.[Components: Refactor SlotFill #19242] Refactor
SlotFill
so we won't need to force fills to re-render whenfillProps
change.[Convert core toolbar buttons into ToolbarButton #20008] Convert the fixed toolbar buttons (block switcher, more tools etc.) to
ToolbarButton
.[Implement roving tabindex on the header toolbar #22354] Convert header toolbar.
[Implement roving tabindex on the Image block #22696] [Implement roving tabindex on grouped blocks toolbars #23216] [Implement roving tabindex on the table block toolbar #23252] [Implement roving tabindex on the Custom HTML block toolbar #23277] [Implement roving tabindex on the Embed block toolbar #23278] [Implement roving tabindex on the Navigation block toolbar #23281] Convert all core block toolbars.
This will fix Toolbar elements are tabbable #15331 and Toolbar: consider to use a roving tabindex and standardize navigation #3383.
[Make accessible toolbar stable and deprecate old usage #23316] If it proves to be useful and works out, deprecate the old usage and remove the
__experimental
prefix. Otherwise, revert it altogether, which would break the code for people using__experimentalAccessibilityLabel
explicitly, but custom blocks would seamlessly rollback to the old usage.The text was updated successfully, but these errors were encountered: