Skip to content

Commit

Permalink
Fix screen reader text in IE7 and 8 in the toolbar "Updates" menu, pr…
Browse files Browse the repository at this point in the history
…ops SergeyBiryukov, fixes #21333

git-svn-id: http://core.svn.wordpress.org/trunk@21549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
azaozz committed Aug 19, 2012
1 parent 4313374 commit 39ab1e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-includes/admin-bar.php
Expand Up @@ -619,7 +619,7 @@ function wp_admin_bar_updates_menu( $wp_admin_bar ) {
return; return;


$title = '<span class="ab-icon"></span><span class="ab-label">' . number_format_i18n( $update_data['counts']['total'] ) . '</span>'; $title = '<span class="ab-icon"></span><span class="ab-label">' . number_format_i18n( $update_data['counts']['total'] ) . '</span>';
$title .= '<legend class="screen-reader-text"><span>' . $update_data['title'] . '</span></legend>'; $title .= '<span class="screen-reader-text">' . $update_data['title'] . '</span>';


$wp_admin_bar->add_menu( array( $wp_admin_bar->add_menu( array(
'id' => 'updates', 'id' => 'updates',
Expand Down

0 comments on commit 39ab1e4

Please sign in to comment.