[wp-trac] [WordPress Trac] #64859: Admin bar: Command palette button retains focus styles after closing

WordPress Trac noreply at wordpress.org
Mon Mar 16 13:33:58 UTC 2026


#64859: Admin bar: Command palette button retains focus styles after closing
-------------------------------------+-------------------------------------
 Reporter:  juanfra                  |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Toolbar                  |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-screenshots has-     |     Focuses:  ui, accessibility,
  patch                              |  administration
-------------------------------------+-------------------------------------

Comment (by khushi1501):

 Tested this on WordPress 7.0 Beta 5.

 I was able to reproduce the issue. After opening the Command Palette from
 the admin bar and closing it, the button still keeps the focus style.

 I also tested the patch and it fixes the issue for me.

 Before applying the patch:-
 https://www.awesomescreenshot.com/video/50481760?key=73aa8cced9130288d8cb055b3e5c51d0

 After applying the patch:-
 https://www.awesomescreenshot.com/video/50481877?key=b0eb954045f78aa0b418920c6b7b4dee

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


More information about the wp-trac mailing list