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

WordPress Trac noreply at wordpress.org
Mon Mar 16 16:30:27 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 joedolson):

 I don't agree that this is a problem. When you close the command palette,
 the control to open it is focused, therefore it has the focus style. This
 is correct behavior.

 I'm not clear what the goal is in changing this. All the current PR does
 is introduce an accessibility failure by creating a loss of focus.

 I'm just re-iterating what @sabernhardt said above, but please clarify
 what the problem is here.

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


More information about the wp-trac mailing list