[wp-trac] [WordPress Trac] #30023: Chrome autofill password keeps showing after wp_attempt_focus clears password field

WordPress Trac noreply at wordpress.org
Fri Oct 17 17:30:52 UTC 2014


#30023: Chrome autofill password keeps showing after wp_attempt_focus clears
password field
-------------------------------------------+-----------------------------
 Reporter:  Robbert S                      |      Owner:
     Type:  defect (bug)                   |     Status:  new
 Priority:  normal                         |  Milestone:  Awaiting Review
Component:  Login and Registration         |    Version:  4.0
 Severity:  normal                         |   Keywords:
  Focuses:  ui, accessibility, javascript  |
-------------------------------------------+-----------------------------
 Chrome's autofill of remembered passwords causes an issue with
 wp_attempt_focus (defined in wp-login.php). The JavaScript function clears
 the password field, but Chrome still displays the field as filled out.

 Submitting the form results in the following error (obviously):

 * ERROR: The password field is empty.

 If people want to have Chrome autofill their password, I strongly suggest
 not to intervene. Not only are we going to annoy users by trying to hack
 around it (see ticket [ticket:24364]), but the hacks will also likely
 cause even more issues in a future Chrome release.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30023>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list