WordPress 3.8.1
[autoinstalls/wordpress.git] / wp-includes / admin-bar.php
index 69334a6eb49f18c730062d0c16190e4376e09f4a..67e6a1a5a749b0e0501e85e9fcaa5b5762cfb3ab 100644 (file)
@@ -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' ),
-                       ),
                ) );
        }
 }