Make WordPress Core

Opened 3 months ago

Last modified 8 weeks ago

#60726 accepted defect (bug)

The WordPress core password reset needs to pre-populate the username to meet WCAG 2.2

Reported by: estelaris's profile estelaris Owned by: joedolson's profile joedolson
Milestone: 6.6 Priority: normal
Severity: normal Version:
Component: Login and Registration Keywords: has-patch
Focuses: ui, accessibility Cc:

Description (last modified by sabernhardt)

According to new WCAG 2.2 success criterion for 3.3.7 redundant entry.

The criterion establishes that information previously entered by or provided to the user that is required to be entered again the same process is either:

  • auto-populated, or
  • available for the user to select

There are 3 exceptions:

  • re-entering the information is essential,
  • the information is required to ensure the security of the content, or
  • previously entered information is no longer valid.

Once the user has performed the process of requesting a new password, the redirected form should have the username filled-in to pass. As of now, this is the form that the user is redirected to:

Attachments (1)

wp-reset-password-redirect-form.png (15.7 KB) - added by estelaris 3 months ago.

Download all attachments as: .zip

Change History (8)

This ticket was mentioned in Slack in #design by estelaris. View the logs.


3 months ago

#2 @joedolson
3 months ago

  • Component changed from General to Login and Registration
  • Keywords needs-patch added; needs-design removed
  • Milestone changed from Awaiting Review to 6.6
  • Summary changed from The WordPress core password reset doesn't comply with new WCAG 2.2 success criterion to The WordPress core password reset needs to pre-populated the username to meet WCAG 2.2

Updating the ticket title to make it more clear what the needed change is for this.

Also removing needs design, as there's no visual change required; it just needs to populate the field, as far as I can tell.

#3 @joedolson
3 months ago

  • Owner set to joedolson
  • Status changed from new to accepted

#4 @joedolson
3 months ago

  • Summary changed from The WordPress core password reset needs to pre-populated the username to meet WCAG 2.2 to The WordPress core password reset needs to pre-populate the username to meet WCAG 2.2

#5 @sabernhardt
3 months ago

  • Description modified (diff)

mentioned in an Equalize Digital article

Last edited 3 months ago by sabernhardt (previous) (diff)

#6 @joedolson
3 months ago

Note: this should also apply to the link to log-in after installation.

This ticket was mentioned in PR #6332 on WordPress/wordpress-develop by rishavjeet.


8 weeks ago
#7

  • Keywords has-patch added; needs-patch removed

This PR mainly focuses upon the new feature of pre-populating the username field in the login form after password reset to meet WCAG 2.2 for accessibility.
For this feature, a new query parameter has been added to the password reset link that is sent to the email , so that after password reset the username field can be pre-field on the basis of the query parameter value user=
Screen-recording for demo

https://github.com/WordPress/wordpress-develop/assets/96969845/ed068467-12b0-4a3a-a042-aedc45dc5f77

Trac ticket: https://core.trac.wordpress.org/ticket/60726

Contributor name - Rishav Dutta

---

Note: See TracTickets for help on using tickets.