[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:52:14 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:  closed
 Priority:  normal                  |   Milestone:  7.0
Component:  Login and Registration  |     Version:
 Severity:  normal                  |  Resolution:  fixed
 Keywords:  early commit            |     Focuses:  ui, accessibility
------------------------------------+--------------------------------
Changes (by joedolson):

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


Comment:

 In [changeset:"61610" 61610]:
 {{{
 #!CommitTicketReference repository="" revision="61610"
 Login and Registration: Populate username after password reset.

 Accessibility: to meet WCAG 2.2/3.3.7: Redundant entry, the username
 should be auto-populated when a user performs a password reset.

 There is an existing cookie set that contains this information, but was
 deleted before displaying the login form.

 Move cookie deletion to occur after displaying login form and use to set
 `$user_login`.

 Props estelaris, alh0319, sabernhardt, oglekler, peterwilsoncc, rcreators,
 rishavdutta, chaion07, stoyangeorgiev, rinkalpagdar, pratiklondhe,
 lukasfritzedev, ferdoused, audrasjb, westonruter, joedolson.
 Fixes #60726.
 }}}

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


More information about the wp-trac mailing list