diff --git a/src/wp-admin/css/dashboard.css b/src/wp-admin/css/dashboard.css index 6a35594302..f7e6b0e39b 100644 --- a/src/wp-admin/css/dashboard.css +++ b/src/wp-admin/css/dashboard.css @@ -440,6 +440,12 @@ color: #ddd; } +/* Safari 10 + VoiceOver specific: without this, the hidden text gets read out before the link. */ +.community-events-footer .screen-reader-text { + height: inherit; + white-space: nowrap; +} + /* Dashboard WordPress news */ #dashboard_primary .inside { diff --git a/src/wp-admin/includes/dashboard.php b/src/wp-admin/includes/dashboard.php index de0eef3447..b25426e753 100644 --- a/src/wp-admin/includes/dashboard.php +++ b/src/wp-admin/includes/dashboard.php @@ -1125,22 +1125,40 @@ function wp_dashboard_events_news() { post_status ) { $preview_button = sprintf( '%1$s %2$s', $preview_button_text, /* translators: accessibility text */ - __( '(link opens in a new window)' ) + __( '(opens in a new window)' ) ); ?> diff --git a/src/wp-includes/class-wp-customize-manager.php b/src/wp-includes/class-wp-customize-manager.php index 5fb2d76e52..097be0cf5e 100644 --- a/src/wp-includes/class-wp-customize-manager.php +++ b/src/wp-includes/class-wp-customize-manager.php @@ -4144,7 +4144,8 @@ final class WP_Customize_Manager { __( 'CSS allows you to customize the appearance and layout of your site with code. Separate CSS is saved for each of your themes. In the editing area the Tab key enters a tab character. To move below this area by pressing Tab, press the Esc key followed by the Tab key.' ), esc_url( __( 'https://codex.wordpress.org/CSS' ) ), __( 'Learn more about CSS' ), - __( '(link opens in a new window)' ) + /* translators: accessibility text */ + __( '(opens in a new window)' ) ), ) );