[#47051] Twenty Nineteen theme sub-menu returns error in WAVE accessibility tool#10816
[#47051] Twenty Nineteen theme sub-menu returns error in WAVE accessibility tool#10816VladimirAus wants to merge 12 commits intoWordPress:trunkfrom
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Test using WordPress PlaygroundThe changes in this pull request can previewed and tested using a WordPress Playground instance. WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser. Some things to be aware of
For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation. |
sabernhardt
left a comment
There was a problem hiding this comment.
The translatable strings would need translator comments to describe the menu item name.
Co-authored-by: Stephen A. Bernhardt <sabernhardt@yahoo.com>
Co-authored-by: Stephen A. Bernhardt <sabernhardt@yahoo.com>
joedolson
left a comment
There was a problem hiding this comment.
In my opinion, this is now sufficient for resolving the specific issues raised in the ticket.
|
Unfortunately, after looking further, I don't see any benefit to committing this change, due to the nature of the other problems in the menu. Ultimately, this wouldn't have any actual benefits for accessibility - the other problems would prevent this from being helpful. |
The goal for a core patch isn't just to satisfy WAVE, but to ensure that screen reader users (who might be navigating a complex menu) understand exactly what these buttons do.
Corrected logic for
twentynineteen_add_dropdown_icons. I have added aria-label to both the "Return" button and the "Expand" button.Ticket: https://core.trac.wordpress.org/ticket/47051