[wp-trac] [WordPress Trac] #60774: Make the user_login field readonly instead of disabled on the profile screen

WordPress Trac noreply at wordpress.org
Sun Jun 2 09:54:03 UTC 2024


#60774: Make the user_login field readonly instead of disabled on the profile
screen
------------------------------+--------------------------------------------
 Reporter:  roytanck          |       Owner:  audrasjb
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  6.6
Component:  Users             |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  accessibility, administration
------------------------------+--------------------------------------------
Changes (by audrasjb):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"58280" 58280]:
 {{{
 #!CommitTicketReference repository="" revision="58280"
 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.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60774#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list