From 6f408cf561aed4ea0e307b29eb0b980af9320a49 Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Tue, 20 Mar 2018 17:46:12 +0000 Subject: [PATCH] Accessibility: Menus screen: Improve headings and instructions for better accessibility. Props audrasjb, melchoyce, juliemoynat. Fixes #43397. git-svn-id: https://develop.svn.wordpress.org/trunk@42857 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/nav-menus.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/nav-menus.php b/src/wp-admin/nav-menus.php index dafcda90cd..cd4454a17b 100644 --- a/src/wp-admin/nav-menus.php +++ b/src/wp-admin/nav-menus.php @@ -742,7 +742,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' ); create a new menu.' ), esc_url( + __( 'Edit your menu below, or create a new menu. Don’t forget to save your changes!' ), esc_url( add_query_arg( array( 'action' => 'edit', @@ -752,6 +752,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' ); ) ); ?> +
@@ -800,7 +801,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' ); create a new menu.' ), esc_url( + __( 'or create a new menu. Don’t forget to save your changes!' ), esc_url( add_query_arg( array( 'action' => 'edit', @@ -810,6 +811,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' ); ) ); ?> +
" /> +

@@ -843,6 +846,7 @@ if ( isset( $_GET['menu'] ) && '0' == $_GET['menu'] ) { $new_screen_class = 'blank-slate'; } ?> +