#64860 closed defect (bug) (fixed)
[Admin reskin] Inconsistent hover vs focus styles on submenu items
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 7.0 | Priority: | normal |
| Severity: | normal | Version: | trunk |
| Component: | Administration | Keywords: | admin-reskin has-screenshots has-patch |
| Focuses: | ui, css, administration | Cc: |
Description
Submenu items in the admin sidebar now show a 2px border radius on keyboard focus, while hover still shows the sharp left line.
Previously both hover and focus matched with sharp borders. The focus state is picking up the generic 2px border-radius from a styles in common.css. It should match the sharp hover styling like it did before the reskin.
Steps to reproduce:
To reproduce:
- Go to admin.
- Start tabbing to a submenu, confirm the focus styles have a rounded border.
- Hover the same submenu, confirm the styles are right (sharp left line).
Attachments (1)
Change History (10)
#2
@
5 weeks ago
- Component changed from General to Administration
- Keywords admin-reskin added
- Milestone changed from Awaiting Review to 7.0
- Version set to trunk
This ticket was mentioned in PR #11262 on WordPress/wordpress-develop by @niravsherasiya7707.
5 weeks ago
#3
- Keywords has-patch added
#4
@
5 weeks ago
Tested this locally on WordPress 7.0 Beta 5.
I was able to reproduce the issue where the hover and focus styles on admin submenu items appear inconsistent. After applying the patch, the hover and focus states look consistent.
Before applying the patch:-
https://www.awesomescreenshot.com/image/59293441?key=863f5089e4d25771635c01a6a38c7e53
After applying the patch:-
https://www.awesomescreenshot.com/image/59293465?key=1ecf479533e4fca0768fb69e56b2810d
#5
@
5 weeks ago
Test Report
Patch tested: https://github.com/WordPress/wordpress-develop/pull/11262
Environment
- WordPress: 7.0-beta5-20260316.045922
- PHP: 7.4.33
- Server: PHP.wasm
- Database: WP_SQLite_Driver (Server: 8.0.38 / Client: 3.51.0)
- Browser: Chrome 146.0.0.0
- OS: Windows 10/11
- Theme: Twenty Twenty-Five 1.4
- MU Plugins: None activated
- Plugins:
- Test Reports 1.2.1
Actual Results
- ✅ Issue resolved with patch.
| Before | After |
|
|


Submenu focus styles with border radius.