From 77fbbbdbec58ac25af5f8237f716719690677a95 Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Wed, 7 Mar 2018 19:40:58 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@42793 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/network/site-new.php | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/src/wp-admin/network/site-new.php b/src/wp-admin/network/site-new.php index bc4809e005..70d9f1ca70 100644 --- a/src/wp-admin/network/site-new.php +++ b/src/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 ) ) {