Make WordPress Core

Opened 4 weeks ago

Last modified 3 weeks ago

#65258 new defect (bug)

Customizer control focus border misaligned in WordPress 7.0 RC4

Reported by: hardipparmar's profile hardipparmar Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.7
Component: Customize Keywords:
Focuses: css Cc:

Description

While testing WordPress 7.0 RC4 in the Customizer, the focus/active border styling for Customizer controls appears visually misaligned.

When hovering or focusing a control (example: 'Header Image'), the blue highlight border does not align correctly. The top and bottom border spacing looks inconsistent compared to the left border, creating an uneven focus outline.

Steps to Reproduce

Install WordPress 7.0 RC4
Activate Twenty Fourteen
Go to Appearance → Customize
Hover or focus a Customizer section item such as 'Header Image'

Attachments (3)

wp7rc4-customize.mp4 (2.1 MB) - added by hardipparmar 4 weeks ago.
video attachment
Screenshot from 2026-05-19 08-51-45.png (59.8 KB) - added by gaurangsondagar 3 weeks ago.
Screenshot from 2026-05-19 08-51-45.2.png (59.8 KB) - added by gaurangsondagar 3 weeks ago.

Change History (6)

@hardipparmar
4 weeks ago

video attachment

#1 @wildworks
4 weeks ago

Thanks for the report.

The important point is that this issue is not new to 7.0, but has existed previously.

#2 @wildworks
3 weeks ago

  • Component changed from General to Customize
  • Version set to 6.7

I have identified that this issue occurred in WordPress 6.7. The accordion title was given focus styles by r59224, and the problem should have occurred at that point.

#3 @gaurangsondagar
3 weeks ago

Reproduce the issue: https://core.trac.wordpress.org/ticket/65258

Environment:

  • PHP: 8.2.29
  • WordPress: 7.0-RC4
  • Web server: Apache
  • Database: MySQL
  • Browser: Chrome
  • OS: Ubuntu 22.04.5 LTS

Steps I followed:

  • Install WordPress 7.0 RC4
  • Navigate to Appearance → Customize
  • Hover over or focus on a Customizer section item, such as Header Image

Result:
I was able to successfully reproduce the Customizer control focus border misalignment issue. I have also attached screenshots for reference.

Note: See TracTickets for help on using tickets.