Commit 010a51b6b8 for wordpress.org

commit 010a51b6b81c04c91f954fb240d495138add563e
Author: peterwilsoncc <peterwilsoncc@git.wordpress.org>
Date:   Wed Sep 30 04:26:48 2026 +0000

    Network and Sites: Improve a11y of network admin pages.

    Improves the accessibility of two network/multisite related admin screens:

    * My sites: Converts site name and "Global Settings" (available via filter) headings to `h2` to avoid skipping a heading level
    * Network setup:
      - associates fields with their descriptive text with `aria-describedby` attributes
      - converts section headings to `h2` to avoid skipping a heading level

    Developed in https://github.com/WordPress/wordpress-develop/pull/13819

    Props mitgiselle, johnjamesjacoby, afercia.
    Fixes #66205.



    Built from https://develop.svn.wordpress.org/trunk@64013


    git-svn-id: http://core.svn.wordpress.org/trunk@63173 1a063a9b-81f0-0310-95a4-ce76da25c4cd

diff --git a/wp-admin/includes/network.php b/wp-admin/includes/network.php
index 15c58c65a3..7dc6c98958 100644
--- a/wp-admin/includes/network.php
+++ b/wp-admin/includes/network.php
@@ -240,7 +240,7 @@ function network_step1( $errors = false ) {

 	if ( allow_subdomain_install() && allow_subdirectory_install() ) :
 		?>
-		<h3><?php esc_html_e( 'Addresses of Sites in your Network' ); ?></h3>
+		<h2><?php esc_html_e( 'Addresses of Sites in your Network' ); ?></h2>
 		<p><?php _e( 'Please choose whether you would like sites in your WordPress network to use sub-domains or sub-directories.' ); ?>
 			<strong><?php _e( 'You cannot change this later.' ); ?></strong></p>
 		<p><?php _e( 'You will need a wildcard DNS record if you are going to use the virtual host (sub-domain) functionality.' ); ?></p>
@@ -289,7 +289,7 @@ function network_step1( $errors = false ) {
 	$is_www = str_starts_with( $hostname, 'www.' );
 	if ( $is_www ) :
 		?>
-		<h3><?php esc_html_e( 'Server Address' ); ?></h3>
+		<h2><?php esc_html_e( 'Server Address' ); ?></h2>
 		<p>
 		<?php
 		printf(
@@ -317,7 +317,7 @@ function network_step1( $errors = false ) {
 		</table>
 		<?php endif; ?>

-		<h3><?php esc_html_e( 'Network Details' ); ?></h3>
+		<h2><?php esc_html_e( 'Network Details' ); ?></h2>
 		<table class="form-table" role="presentation">
 		<?php if ( 'localhost' === $hostname ) : ?>
 			<tr>
@@ -378,8 +378,8 @@ function network_step1( $errors = false ) {
 			<tr>
 				<th scope='row'><label for="sitename"><?php esc_html_e( 'Network Title' ); ?></label></th>
 				<td>
-					<input name='sitename' id='sitename' type='text' size='45' value='<?php echo esc_attr( $site_name ); ?>' />
-					<p class="description">
+					<input name='sitename' id='sitename' type='text' size='45' aria-describedby='sitename-desc' value='<?php echo esc_attr( $site_name ); ?>' />
+					<p class="description" id="sitename-desc">
 						<?php _e( 'What would you like to call your network?' ); ?>
 					</p>
 				</td>
@@ -387,8 +387,8 @@ function network_step1( $errors = false ) {
 			<tr>
 				<th scope='row'><label for="email"><?php esc_html_e( 'Network Admin Email' ); ?></label></th>
 				<td>
-					<input name='email' id='email' type='text' size='45' value='<?php echo esc_attr( $admin_email ); ?>' />
-					<p class="description">
+					<input name='email' id='email' type='text' size='45' aria-describedby='email-desc' value='<?php echo esc_attr( $admin_email ); ?>' />
+					<p class="description" id="email-desc">
 						<?php _e( 'Your email address.' ); ?>
 					</p>
 				</td>
@@ -470,7 +470,7 @@ function network_step2( $errors = false ) {

 	if ( $_POST || ! is_multisite() ) {
 		?>
-		<h3><?php esc_html_e( 'Enabling the Network' ); ?></h3>
+		<h2><?php esc_html_e( 'Enabling the Network' ); ?></h2>
 		<p><?php _e( 'Complete the following steps to enable the features for creating a network of sites.' ); ?></p>
 		<?php
 		$notice_message = '<strong>' . __( 'Caution:' ) . '</strong> ';
diff --git a/wp-admin/my-sites.php b/wp-admin/my-sites.php
index 71ebc3858e..30fbdb8458 100644
--- a/wp-admin/my-sites.php
+++ b/wp-admin/my-sites.php
@@ -124,7 +124,7 @@ else :
 	$settings_html = apply_filters( 'myblogs_options', '', 'global' );

 	if ( $settings_html ) {
-		echo '<h3>' . __( 'Global Settings' ) . '</h3>';
+		echo '<h2>' . __( 'Global Settings' ) . '</h2>';
 		echo $settings_html;
 	}

@@ -134,7 +134,7 @@ else :
 		switch_to_blog( $user_blog->userblog_id );

 		echo '<li>';
-		echo "<h3>{$user_blog->blogname}</h3>";
+		echo "<h2>{$user_blog->blogname}</h2>";

 		$actions = "<a href='" . esc_url( home_url() ) . "'>" . __( 'Visit' ) . '</a>';

diff --git a/wp-includes/version.php b/wp-includes/version.php
index dcd05f5bf2..9cb6ee9266 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
  *
  * @global string $wp_version
  */
-$wp_version = '7.2-alpha-64012';
+$wp_version = '7.2-alpha-64013';

 /**
  * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.