From e34999f4aac1f8cfa64b5d76dbd2f950cbcd8173 Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Wed, 7 Mar 2018 19:41:33 +0000 Subject: [PATCH] Accessibility: Networks and Sites: mark the New Site required form fields as required. Also, adds an `aria-describedby` attribute to associate the Admin Email field with its description. Props dipesh.kakadiya, jackreichert, rianrietveld. Fixes #37331. Built from https://develop.svn.wordpress.org/trunk@42793 git-svn-id: http://core.svn.wordpress.org/trunk@42623 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/network/site-new.php | 23 +++++++++++++++-------- wp-includes/version.php | 2 +- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/wp-admin/network/site-new.php b/wp-admin/network/site-new.php index bc4809e005..70d9f1ca70 100644 --- a/wp-admin/network/site-new.php +++ b/wp-admin/network/site-new.php @@ -212,19 +212,26 @@ if ( ! empty( $messages ) ) { } } ?> +

*' +); +?>

- + - - + + - - + + - +
- .domain ); ?> + .domain ); ?> domain . get_network()->path ?> - + ' . __( 'Only lowercase letters (a-z), numbers, and hyphens are allowed.' ) . '

'; @@ -232,8 +239,8 @@ if ( ! empty( $messages ) ) {


diff --git a/wp-includes/version.php b/wp-includes/version.php index ff0caa6233..482f4baed1 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-42792'; +$wp_version = '5.0-alpha-42793'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.