[wp-trac] [WordPress Trac] #47051: Twenty Nineteen theme sub-menu returns error in WAVE accessibility tool

WordPress Trac noreply at wordpress.org
Thu Feb 26 00:03:20 UTC 2026


#47051: Twenty Nineteen theme sub-menu returns error in WAVE accessibility tool
---------------------------+----------------------------
 Reporter:  johnfclifford  |       Owner:  joedolson
     Type:  defect (bug)   |      Status:  accepted
 Priority:  normal         |   Milestone:  7.0
Component:  Bundled Theme  |     Version:  5.0
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:  accessibility
---------------------------+----------------------------

Comment (by joedolson):

 So, I really wanted this to be sufficient to commit and close this ticket.

 However, just adding names to these buttons doesn't accomplish anything;
 the buttons aren't actually being used. If anything, it might make it
 worse, because it's adding the text to the names of the list items, but
 they aren't navigable (having `tabindex="1"`) and aren't actually used to
 open anything.

 The button in the side panel is used to trigger the menu, but it still has
 tabindex of -1, so it's still not navigable to screen readers. Therefore
 the `aria-label` is useless.

 Unfortunately, I don't think it's going to be possible to partially fix
 this menu; it's going to have to be all or nothing.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47051#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list