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

WordPress Trac noreply at wordpress.org
Fri May 30 16:34:42 UTC 2025


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

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


Comment:

 In [changeset:"60268" 60268]:
 {{{
 #!CommitTicketReference repository="" revision="60268"
 Upgrade/Install: Avoid setting focus on password during install.

 On the installation screen, focus was set first to the site title field,
 then moved to the password field. Autofocus should only ever be moved to
 the first field of a form, so that screen reader users don't miss
 important fields.

 Fix by checking whether the site title field is present before setting
 password field focus.

 Props zodiac1978, himanshupathak95, abcd95, joedolson.
 Fixes #63281.
 }}}

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


More information about the wp-trac mailing list