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

WordPress Trac noreply at wordpress.org
Tue Mar 17 10:24:59 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 juanfra):

 Thanks Aki, you captured it perfectly.

 The problem is not the focus, but the focus styles. They make it look
 selected, which feels wrong after you just closed the palette. Maybe we
 can update the title and description of the ticket to bring more clarity.

 Usually focus states use outlines instead of a background + color combo.
 It wasn't super obvious before command palette existed, but now that focus
 returns after closing, I believe it's more evident that the styling is
 misleading.

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


More information about the wp-trac mailing list