- Timestamp:
- 01/22/2014 08:07:16 PM (11 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/wp-admin.css
r27007 r27011 11829 11829 .auto-fold #adminmenuwrap { 11830 11830 position: absolute; 11831 left: 0;11831 width: 190px; 11832 11832 z-index: 100; 11833 11833 } … … 11835 11835 .auto-fold #adminmenuback, 11836 11836 .auto-fold #adminmenuwrap { 11837 left: -200px; 11838 } 11839 11840 .auto-fold #adminmenuwrap, 11841 .auto-fold #adminmenu, 11842 .auto-fold #adminmenuback { 11843 width: 190px; 11837 display: none; 11844 11838 } 11845 11839 … … 11947 11941 .auto-fold .wp-responsive-open #adminmenuback, 11948 11942 .auto-fold .wp-responsive-open #adminmenuwrap { 11949 left: 0;11943 display: block; 11950 11944 } 11951 11945 -
trunk/src/wp-admin/js/common.js
r26889 r27011 561 561 }); 562 562 563 $( '#wp-admin-bar-menu-toggle a' ).attr( 'aria-expanded', 'false' ); 564 563 565 // Toggle sidebar when toggle is clicked 564 566 $( '#wp-admin-bar-menu-toggle' ).on( 'click.wp-responsive', function( event ) { 565 567 event.preventDefault(); 566 568 $wpwrap.toggleClass( 'wp-responsive-open' ); 569 if ( $wpwrap.hasClass( 'wp-responsive-open' ) ) { 570 $(this).find('a').attr( 'aria-expanded', 'true' ); 571 $( '#adminmenu a:first' ).focus(); 572 } else { 573 $(this).find('a').attr( 'aria-expanded', 'false' ); 574 } 567 575 } ); 568 576 -
trunk/src/wp-includes/admin-bar.php
r26800 r27011 167 167 $wp_admin_bar->add_menu( array( 168 168 'id' => 'menu-toggle', 169 'title' => '<span class="ab-icon"></span> ',169 'title' => '<span class="ab-icon"></span><span class="screen-reader-text">' . __( 'Menu' ) . '</span>', 170 170 'href' => '#', 171 'meta' => array(172 'title' => __( 'Menu' ),173 ),174 171 ) ); 175 172 }
Note: See TracChangeset
for help on using the changeset viewer.