[wp-trac] [WordPress Trac] #30083: Twenty Fifteen: Sub Menu Navigation Toggles are Invalid HTML

WordPress Trac noreply at wordpress.org
Thu Oct 23 20:03:04 UTC 2014


#30083: Twenty Fifteen: Sub Menu Navigation Toggles are Invalid HTML
-------------------------------------+----------------------------
 Reporter:  davidakennedy            |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  4.1
Component:  Bundled Theme            |     Version:  trunk
 Severity:  blocker                  |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  accessibility
-------------------------------------+----------------------------

Comment (by davidakennedy):

 I added my patch as well, but it's pretty close to what afercia has. Beat
 me to it. :)

 I:

 * Moved the `<button>` outside the `<a>`
 * Adjusted the JS to accommodate that.
 * Adjusted the CSS to accommodate that.
 * Added some more descriptive text to the Expand/Collapse verbiage so
 screen reader users know better what they're expanding.

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


More information about the wp-trac mailing list