[wp-trac] [WordPress Trac] #65177: Adminbar: Unnatural focus outline in frontend

WordPress Trac noreply at wordpress.org
Wed May 6 04:58:35 UTC 2026


#65177: Adminbar: Unnatural focus outline in frontend
----------------------------+------------------------------
 Reporter:  wildworks       |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+------------------------------

Comment (by hbhalodia):

 Hi @joedolson, I can confirm the issue shared by @wildworks exists. I can
 see the styles are being applied and there is no any style leak from
 theme. The outline style attached to the frontend admin bar is coming from
 the browser default outline style.

 I have worked on it and added the style to remove the outline from here
 `src/wp-includes/css/admin-bar.css` particularly targeting the admin bar.

 Let me know the fix added is in correct file or it should be moved
 somewhere else, I would be happy to update the PR as per feedback.

 Thanks,

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/65177#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list