-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Labels
[Block] CategoriesAffects the Categories BlockAffects the Categories Block[Block] Page ListAffects the Page List BlockAffects the Page List Block[Block] Tag CloudAffects the Tag Cloud BlockAffects the Tag Cloud Block[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).Changes that impact accessibility and need corresponding review (e.g. markup changes).[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
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-listcore/categoriescore/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.
- Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
- Yes
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Block] CategoriesAffects the Categories BlockAffects the Categories Block[Block] Page ListAffects the Page List BlockAffects the Page List Block[Block] Tag CloudAffects the Tag Cloud BlockAffects the Tag Cloud Block[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).Changes that impact accessibility and need corresponding review (e.g. markup changes).[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Type
Fields
Give feedbackNo fields configured for issues without a type.