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

WordPress Trac noreply at wordpress.org
Tue Apr 23 21:20:37 UTC 2024


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

 * keywords:  has-patch commit 2nd-opinion => has-patch 2nd-opinion


Comment:

 Unlike on `disabled` inputs, `readonly` ones need a compliant contrast
 ratio so I think the implementation proposed in `60774.diff` works fine.
 Also, there is indeed a detailed instruction sentence for that field, so I
 believe we're good to go with that implementation.

 (removing `commit` workflow keyword just to make sure to keep this ticket
 a chance to be discussed before committing)

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


More information about the wp-trac mailing list