[wp-trac] [WordPress Trac] #21349: Accessibility/semantics of the HTML structure of the main menu in Admin

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 2 08:31:27 UTC 2012


#21349: Accessibility/semantics of the HTML structure of the main menu in Admin
--------------------------+------------------
 Reporter:  rianrietveld  |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  3.5
Component:  Menus         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------

Comment (by azaozz):

 In 21349.patch:

 - The main improvement is the HTML structure of the menu. It is simplified
 a lot. Now the items are:
 {{{
 <li.menu-top>
   <a>
     <div.wp-menu-arrow">
     <div.wp-menu-image">
     <div.wp-menu-name">
   </a>
   <ul.wp-submenu>
     <li>
     <li>
     ....
   </ul>
 </li>
 }}}

 - Visibly there are no changes to the fly-outs or to how the menu
 functions.
 - The fly-outs when the menu is folded have been moved few pixels away
 from the icons so the click targets are a bit larger and their "headers"
 are clickable.
 - Few minor visual glitches are fixed.

 The CSS and HTML is back-compat for adding or replacing menu icons and
 hiding (with JS or CSS) of menu and submenu items.

 Related #12718.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21349#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list