Make WordPress Core


Ignore:
Timestamp:
08/21/2012 10:46:30 PM (12 years ago)
Author:
azaozz
Message:

Improve the layout and accessibility of the admin menu: simplify the HTML structure, move the submenus off the viewport (still visible for screen readers) instead of hiding them with display: none, make it possible to unfold the menu on small/narrow screens, see #21349

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-header.php

    r21435 r21574  
    7777    $admin_body_class .= ' folded';
    7878
     79if ( !get_user_setting('unfold') )
     80    $admin_body_class .= ' auto-fold';
     81
    7982if ( is_admin_bar_showing() )
    8083    $admin_body_class .= ' admin-bar';
Note: See TracChangeset for help on using the changeset viewer.