Library: Improve the screenreader announcements for category navigation #52005
Labels
[Feature] Patterns
A collection of blocks that can be synced (previously reusable blocks) or unsynced
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
Needs Design Feedback
Needs general design feedback.
[Type] Bug
An existing feature does not function as intended
Description
When tabbing through the category navigation on the Library screen, the way categories are announced could be improved:
Currently these will be announced as "Headers 2, button", "Footers 1, button", ... "Custom Patterns 4, current item, button".
It's good that the selected item is announced, but a couple of things could be improved:
It might be a good idea to look at adding some
VisuallyHidden
text to improve the announcements to be something like:"Headers (template part), 2 items, button", ... "Custom patterns (pattern), 4 items, current item, button"
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
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: