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

WordPress Trac noreply at wordpress.org
Sun Nov 3 21:23:14 UTC 2019


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

Comment (by nataliemac):

 Started digging into this at WordCamp US today. Just focusing on the main
 navigation, it needs a lot of work and we might want to divide this up
 into two or more separate tickets. Here are the individual issues that
 need to be addressed:

 * Mobile: Empty buttons need to have some kind of text alternative to
 indicate the purpose of the button
 * Desktop: Non-functional buttons should be replaced with just an svg
 icon. I believe no text alternative is needed for these icons
 * Desktop: Ensure aria-expanded attribute is correctly updated when
 submenus open/close
 * Mobile: Debug intermittent incorrect aria-expanded attributes for
 submenus
 * Desktop: Remove aria-haspopup attribute

 Additionally, after we adopt WCAG 2.1, this menu will need some other
 updates and changes as well.

 I've started work on the first two bullet point issues listed above as
 they're related the original reason for the ticket. The others perhaps
 could be moved to separate tickets.

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


More information about the wp-trac mailing list