Accessibility issue with links listing blocks. #64051
Labels
[Block] Categories
Affects the Categories Block
[Block] Page List
Affects the Page List Block
[Block] Tag Cloud
Affects the Tag Cloud Block
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
[Type] Bug
An existing feature does not function as intended
Description
Blocks listing links aren't wrapped in a
<nav>
leading to accessibility issue.Although it has been done for old fashioned widget, see https://make.wordpress.org/core/2020/07/09/accessibility-improvements-to-widgets-outputting-lists-of-links-in-5-5/
Concerned blocks I found are:
core/page-list
core/categories
core/tag-cloud
core/posts-list
might be concerned in some cases.Step-by-step reproduction instructions
Add one of the mentioned block in a post and see there is no
<nav>
on frontend.Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
The text was updated successfully, but these errors were encountered: