Opened 5 months ago
Closed 4 months ago
#63832 closed defect (bug) (fixed)
Loss of focus when setting or changing the Site Logo or Site Icon in Customizer
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 6.9 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Customize | Keywords: | has-patch commit |
| Focuses: | accessibility, javascript | Cc: |
Description
When setting or changing a site logo or site icon, the active control is removed after assigning an icon, and focus is not explicitly set. This leads to a loss of focus.
Focus should be set to the first relevant button after the icon, which would be the "Remove" button.
Change History (9)
This ticket was mentioned in PR #9499 on WordPress/wordpress-develop by @rishabhwp.
5 months ago
#2
- Keywords has-patch added
This ticket was mentioned in Slack in #accessibility by joedolson. View the logs.
4 months ago
#5
@
4 months ago
- Keywords needs-testing added
- Milestone changed from Awaiting Review to 6.9
@krupajnanda will give this an initial test. Thank you @rishabhwp!
@krupajnanda commented on PR #9499:
4 months ago
#6
## Test Report
### Description
This report validates that the indicated patch works as expected, as mentioned in this PR. ✅
### Environment
- WordPress: 6.9-alpha-60093-src
- PHP: 8.2.29
- Server: nginx/1.29.1
- Database: mysqli (Server: 8.4.6 / Client: mysqlnd 8.2.29)
- Browser: Chrome 140.0.0.0
- OS: macOS
- Theme: Twenty Nineteen 3.1
- MU Plugins: None activated
- Plugins:
- Query Monitor 3.19.0
- Test Reports 1.2.0
### Actual Results
- ✅ Issue resolved with a patch.
### Additional Notes
- Tested primarily with keyboard navigation (Tab, Shift+Tab, Enter, Space) ✅
- Tested with a screen reader and focus remained as expected. ✅
### Supplemental Artifacts
https://github.com/user-attachments/assets/3699bf40-ed66-4542-96aa-69e3de7e54f3
#7
@
4 months ago
- Keywords needs-testing removed
Test Report
Description
✅ This report validates whether the indicated patch works as expected.
Patch tested: https://github.com/WordPress/wordpress-develop/pull/9499
Environment
- WordPress: 6.9-alpha-60093-src
- PHP: 8.2.29
- Server: nginx/1.29.1
- Database: mysqli (Server: 8.4.6 / Client: mysqlnd 8.2.29)
- Browser: Chrome 140.0.0.0
- OS: Windows 10/11
- Theme: Twenty Seventeen 3.9
- MU Plugins:
- test.php
- Plugins:
- Email Log 2.61
- Test Reports 1.2.0
Actual Results
- ✅ Issue resolved with the patch.
Additional Notes
- Tested primarily with keyboard navigation (Tab, Shift+Tab, Enter, Space) ✅
- Tested with a screen reader and focus remained as expected. ✅
Hi @joedolson,
I have submitted a PR addressing the focus loss issue when setting or changing the Site Logo or Site Icon in the Customizer. Could you please take a moment to review it? Thank you!