[wp-trac] [WordPress Trac] #41136: Login forms lacking autocomplete attributes

WordPress Trac noreply at wordpress.org
Wed Mar 30 06:35:17 UTC 2022

#41136: Login forms lacking autocomplete attributes
 Reporter:  johnjamesjacoby          |       Owner:  joedolson
     Type:  defect (bug)             |      Status:  accepted
 Priority:  normal                   |   Milestone:  6.0
Component:  Login and Registration   |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  needs-patch needs-       |     Focuses:  accessibility,
  testing                            |  administration

Comment (by rianrietveld):

 Thanks so much for going ahead with this.

 Especially because the rules in the new WCAG 2.2, that is still in draft,
 will probably be even be more stricter [3.3.6. Accessible
 in-22/#337-accessible-authentication-a]. (Don't shoot the messenger)

 The values for autocomplete can be found on
 [MDN web docs The HTML autocomplete attribute]

 To comply to WCAG 2.1 AA for the login form we need:
 username on "Username or Email Address"
 current-password on "Password"

 And possibly if we want to take this further on more login/create account

 For retrieving a forgotten password:
 username on "Username or Email Address"

 For creating a new password (so the browser doen't fill out the existing

Ticket URL: <https://core.trac.wordpress.org/ticket/41136#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list