Files
wordpress/wp-admin/js
joedolson 369d812d23 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.
Built from https://develop.svn.wordpress.org/trunk@60268


git-svn-id: http://core.svn.wordpress.org/trunk@59604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-05-30 16:37:48 +00:00
..