From d3b8237ade3749603bee0b08ebbb83cf3b0030ed Mon Sep 17 00:00:00 2001 From: audrasjb Date: Sun, 2 Jun 2024 09:55:10 +0000 Subject: [PATCH] User: Make the `user_login` field `readonly` instead of `disabled`. On the profile edit screen in ``wp-admin, the username was previously displayed using an input field with the `disabled` attribute. This field was skipped by screen readers, which leads to a loss of information for visually impaired users. This changeset switches it to a `readonly` attribute, which is exactly the purpose of this field. Props roytanck, audrasjb, rajinsharwar, joedolson. Fixes #60774. Built from https://develop.svn.wordpress.org/trunk@58280 git-svn-id: http://core.svn.wordpress.org/trunk@57740 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/user-edit.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/user-edit.php b/wp-admin/user-edit.php index bbad60959c..0ab9aec48f 100644 --- a/wp-admin/user-edit.php +++ b/wp-admin/user-edit.php @@ -438,7 +438,7 @@ switch ( $action ) { - + ID ) ) : ?> diff --git a/wp-includes/version.php b/wp-includes/version.php index aca7e78a60..d4055fc955 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-alpha-58279'; +$wp_version = '6.6-alpha-58280'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.