[wp-trac] [WordPress Trac] #38397: Twenty Seventeen: Mobile menu parent items require double tap

WordPress Trac noreply at wordpress.org
Mon Nov 14 21:50:55 UTC 2016


#38397: Twenty Seventeen: Mobile menu parent items require double tap
--------------------------------------------+----------------------------
 Reporter:  celloexpressions                |       Owner:
     Type:  defect (bug)                    |      Status:  new
 Priority:  low                             |   Milestone:  4.7
Component:  Bundled Theme                   |     Version:
 Severity:  normal                          |  Resolution:
 Keywords:  has-patch needs-testing commit  |     Focuses:  accessibility
--------------------------------------------+----------------------------
Changes (by davidakennedy):

 * keywords:  has-patch needs-testing => has-patch needs-testing commit


Comment:

 After further review from the accessibility team, it was determined that
 the menu items with sub-menus don't need the `aria-haspopup` attribute.
 This is because on larger screens, clicking a control to reveal the sub-
 menu isn't required. It's activated via `:hover` or `:focus`. On small
 screens, the button, enabled with `aria-expanded`, handles this case so
 `aria-haspopup` isn't needed there. Removing them entirely fixes this bug,
 done in [attachment:38397.3.patch].

 I tested in a few Windows devices via Browserstack and don't see the
 problem any longer.

 See: https://wordpress.slack.com/archives/accessibility/p1479147076000571

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


More information about the wp-trac mailing list