Accessibility: add text to the updates link in the toolbar, props SergeyBiryukov, fixes #21333

git-svn-id: http://core.svn.wordpress.org/trunk@21425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz
2012-08-05 19:10:11 +00:00
parent e2c2d70548
commit 30dd9b1aa6
2 changed files with 4 additions and 3 deletions

View File

@@ -617,6 +617,7 @@ function wp_admin_bar_updates_menu( $wp_admin_bar ) {
return;
$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>';
$wp_admin_bar->add_menu( array(
'id' => 'updates',