From 18e171d9c152088a74bf1b959f4f811ba63e5031 Mon Sep 17 00:00:00 2001 From: Guzel Mitroshina Date: Tue, 29 Sep 2026 12:17:40 -0400 Subject: [PATCH 1/2] Networks and Sites: Improve accessibility of network admin pages. On the Network Setup screen, associate the "Network Title" and "Network Admin Email" descriptions with their inputs via `aria-describedby`. On the My Sites screen, change the site and "Global Settings" headings from `h3` to `h2` so the heading hierarchy doesn't skip a level. `h2` and `h3` share the same admin styles, so there is no visual change. See #66205. --- src/wp-admin/includes/network.php | 8 ++++---- src/wp-admin/my-sites.php | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/wp-admin/includes/network.php b/src/wp-admin/includes/network.php index 15c58c65a3148..c3cf46c5ef449 100644 --- a/src/wp-admin/includes/network.php +++ b/src/wp-admin/includes/network.php @@ -378,8 +378,8 @@ function network_step1( $errors = false ) { - -

+ +

@@ -387,8 +387,8 @@ function network_step1( $errors = false ) { - -

+ +

diff --git a/src/wp-admin/my-sites.php b/src/wp-admin/my-sites.php index 71ebc3858ec34..30fbdb8458a12 100644 --- a/src/wp-admin/my-sites.php +++ b/src/wp-admin/my-sites.php @@ -124,7 +124,7 @@ $settings_html = apply_filters( 'myblogs_options', '', 'global' ); if ( $settings_html ) { - echo '

' . __( 'Global Settings' ) . '

'; + echo '

' . __( 'Global Settings' ) . '

'; echo $settings_html; } @@ -134,7 +134,7 @@ switch_to_blog( $user_blog->userblog_id ); echo '
  • '; - echo "

    {$user_blog->blogname}

    "; + echo "

    {$user_blog->blogname}

    "; $actions = "" . __( 'Visit' ) . ''; From c972a0013221b24f559e3e7ce6da6e1a03923ece Mon Sep 17 00:00:00 2001 From: John James Jacoby Date: Tue, 29 Sep 2026 19:05:22 -0500 Subject: [PATCH 2/2] Networks and Sites: Correct heading levels on Network Setup. Change the section headings from h3 to h2 so they follow the page h1 without skipping a level. The elements share the same admin styles, so this has no visual impact. See #66205. --- src/wp-admin/includes/network.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-admin/includes/network.php b/src/wp-admin/includes/network.php index c3cf46c5ef449..7dc6c9895869c 100644 --- a/src/wp-admin/includes/network.php +++ b/src/wp-admin/includes/network.php @@ -240,7 +240,7 @@ function network_step1( $errors = false ) { if ( allow_subdomain_install() && allow_subdirectory_install() ) : ?> -

    +

    @@ -289,7 +289,7 @@ function network_step1( $errors = false ) { $is_www = str_starts_with( $hostname, 'www.' ); if ( $is_www ) : ?> -

    +

    -

    +

    @@ -470,7 +470,7 @@ function network_step2( $errors = false ) { if ( $_POST || ! is_multisite() ) { ?> -

    +

    ' . __( 'Caution:' ) . ' ';