diff options
author | Joe Dolson <joedolson@git.wordpress.org> | 2025-05-30 16:34:23 +0000 |
---|---|---|
committer | Joe Dolson <joedolson@git.wordpress.org> | 2025-05-30 16:34:23 +0000 |
commit | 064682f16985a833071bded0094863d55fb31e3d (patch) | |
tree | 11d567bb4438fd2568c9198f8d77cabdf7861231 /src/wp-includes/customize/class-wp-customize-upload-control.php | |
parent | 7fdef4e6298c79a169cac396594f3bf9ee7386fa (diff) | |
download | wordpress-064682f16985a833071bded0094863d55fb31e3d.tar.gz wordpress-064682f16985a833071bded0094863d55fb31e3d.zip |
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.
git-svn-id: https://develop.svn.wordpress.org/trunk@60268 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to 'src/wp-includes/customize/class-wp-customize-upload-control.php')
0 files changed, 0 insertions, 0 deletions