From 30dd9b1aa663944353938b777bcb9ad87e83cdcd Mon Sep 17 00:00:00 2001 From: azaozz Date: Sun, 5 Aug 2012 19:10:11 +0000 Subject: [PATCH] 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 --- wp-includes/admin-bar.php | 1 + wp-includes/css/admin-bar.dev.css | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/wp-includes/admin-bar.php b/wp-includes/admin-bar.php index cff6289d25..4bc0302623 100644 --- a/wp-includes/admin-bar.php +++ b/wp-includes/admin-bar.php @@ -617,6 +617,7 @@ function wp_admin_bar_updates_menu( $wp_admin_bar ) { return; $title = '' . number_format_i18n( $update_data['counts']['total'] ) . ''; + $title .= '' . $update_data['title'] . ''; $wp_admin_bar->add_menu( array( 'id' => 'updates', diff --git a/wp-includes/css/admin-bar.dev.css b/wp-includes/css/admin-bar.dev.css index 758a21e7ad..93c696dea1 100644 --- a/wp-includes/css/admin-bar.dev.css +++ b/wp-includes/css/admin-bar.dev.css @@ -607,15 +607,15 @@ } /* Skip link */ -#wpadminbar #wpadminbar-shortcut { +#wpadminbar #wpadminbar-shortcut, +#wpadminbar .screen-reader-text, +#wpadminbar .screen-reader-text span { position: absolute; left: -1000em; top: -1000em; height: 1px; width: 1px; overflow: hidden; - padding: 0; - margin: 0; } #wpadminbar #wpadminbar-shortcut:focus {