Changeset 27010
- Timestamp:
- 01/22/2014 08:02:13 PM (11 years ago)
- Location:
- branches/3.8/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.8/src/wp-admin/css/wp-admin.css
r27008 r27010 11852 11852 .auto-fold #adminmenuwrap { 11853 11853 position: absolute; 11854 left: 0;11854 width: 190px; 11855 11855 z-index: 100; 11856 11856 } … … 11858 11858 .auto-fold #adminmenuback, 11859 11859 .auto-fold #adminmenuwrap { 11860 left: -200px; 11861 } 11862 11863 .auto-fold #adminmenuwrap, 11864 .auto-fold #adminmenu, 11865 .auto-fold #adminmenuback { 11866 width: 190px; 11860 display: none; 11867 11861 } 11868 11862 … … 11970 11964 .auto-fold .wp-responsive-open #adminmenuback, 11971 11965 .auto-fold .wp-responsive-open #adminmenuwrap { 11972 left: 0;11966 display: block; 11973 11967 } 11974 11968 -
branches/3.8/src/wp-admin/js/common.js
r26785 r27010 554 554 }); 555 555 556 $( '#wp-admin-bar-menu-toggle a' ).attr( 'aria-expanded', 'false' ); 557 556 558 // Toggle sidebar when toggle is clicked 557 559 $( '#wp-admin-bar-menu-toggle' ).on( 'click.wp-responsive', function( event ) { 558 560 event.preventDefault(); 559 561 $wpwrap.toggleClass( 'wp-responsive-open' ); 562 if ( $wpwrap.hasClass( 'wp-responsive-open' ) ) { 563 $(this).find('a').attr( 'aria-expanded', 'true' ); 564 $( '#adminmenu a:first' ).focus(); 565 } else { 566 $(this).find('a').attr( 'aria-expanded', 'false' ); 567 } 560 568 } ); 561 569 -
branches/3.8/src/wp-includes/admin-bar.php
r26800 r27010 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.