[wp-trac] [WordPress Trac] #63281: Password field has wrongly focus on installations

WordPress Trac noreply at wordpress.org
Tue Apr 15 16:02:58 UTC 2025


#63281: Password field has wrongly focus on installations
-----------------------------+--------------------------------------------
 Reporter:  zodiac1978       |       Owner:  audrasjb
     Type:  defect (bug)     |      Status:  accepted
 Priority:  normal           |   Milestone:  6.9
Component:  Upgrade/Install  |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:  ui, accessibility, javascript
-----------------------------+--------------------------------------------

Comment (by zodiac1978):

 Replying to [comment:3 abcd95]:
 > The reordering of scripts didn't work in my testing since `user-
 profile.js` uses a `setTimeout` while waiting for the `zxcvbn` password
 library to load.
 >
 > and I think the `!wp_is_mobile()` check prevents automatic focus on
 mobile because it automatically opens the keyboard, which can be
 disruptive experience.

 This both makes sense. Thanks for the explanation. Very much appreciated!

 Can you add this code change as a patch?

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


More information about the wp-trac mailing list