[wp-trac] [WordPress Trac] #60726: The WordPress core password reset needs to pre-populate the username to meet WCAG 2.2

WordPress Trac noreply at wordpress.org
Tue Feb 10 19:49:55 UTC 2026


#60726: The WordPress core password reset needs to pre-populate the username to
meet WCAG 2.2
--------------------------------------+--------------------------------
 Reporter:  estelaris                 |       Owner:  joedolson
     Type:  defect (bug)              |      Status:  accepted
 Priority:  normal                    |   Milestone:  7.0
Component:  Login and Registration    |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  early needs-patch commit  |     Focuses:  ui, accessibility
--------------------------------------+--------------------------------

Comment (by joedolson):

 The patch as marked for commit only covers the original reported case,
 setting the username after a password reset. There were four other cases
 mentioned above that could be addressed.

 Two of those are cases that I don't think should be done; the other should
 possibly be addressed elsewhere.

 The other three cases are:

 1) Username field after successful installation.

 This should be done, but can be addressed as a separate ticket.

 2) Username field after a failed login.
 3) Password field after a failed login.

 I don't think there's any real value to restoring values that have already
 been demonstrated to be invalid. If we only restored valid values, we'd be
 revealing secure information in a dangerous way, but the combination of
 values is already definitely *not* correct. Because of this, I don't think
 restoring this information is useful or helpful.

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


More information about the wp-trac mailing list