mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 04:34:31 +00:00
Improve keyboard accessibility for the admin menu when in responsive mode, props SergeyBiryukov, fixes #26639 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@27011 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -166,11 +166,8 @@ function wp_admin_bar_sidebar_toggle( $wp_admin_bar ) {
|
||||
if ( is_admin() ) {
|
||||
$wp_admin_bar->add_menu( array(
|
||||
'id' => 'menu-toggle',
|
||||
'title' => '<span class="ab-icon"></span>',
|
||||
'title' => '<span class="ab-icon"></span><span class="screen-reader-text">' . __( 'Menu' ) . '</span>',
|
||||
'href' => '#',
|
||||
'meta' => array(
|
||||
'title' => __( 'Menu' ),
|
||||
),
|
||||
) );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user