Make WordPress Core


Ignore:
Timestamp:
01/22/2014 08:07:16 PM (11 years ago)
Author:
azaozz
Message:

Improve keyboard accessibility for the admin menu when in responsive mode, props SergeyBiryukov, fixes #26639 for trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/admin-bar.php

    r26800 r27011  
    167167        $wp_admin_bar->add_menu( array(
    168168            'id'    => 'menu-toggle',
    169             'title' => '<span class="ab-icon"></span>',
     169            'title' => '<span class="ab-icon"></span><span class="screen-reader-text">' . __( 'Menu' ) . '</span>',
    170170            'href'  => '#',
    171             'meta'  => array(
    172                 'title' => __( 'Menu' ),
    173             ),
    174171        ) );
    175172    }
Note: See TracChangeset for help on using the changeset viewer.