[wp-trac] [WordPress Trac] #64382: Post search input “close” (×) button should use cursor: pointer

WordPress Trac noreply at wordpress.org
Mon Dec 29 15:45:31 UTC 2025


#64382: Post search input “close” (×) button should use cursor: pointer
-------------------------------------+-------------------------------------
 Reporter:  sumitsingh               |       Owner:  joedolson
     Type:  defect (bug)             |      Status:  accepted
 Priority:  normal                   |   Milestone:  7.0
Component:  Posts, Post Types        |     Version:  6.9
 Severity:  normal                   |  Resolution:
 Keywords:  has-screenshots has-     |     Focuses:  ui, accessibility,
  patch                              |  css, administration
-------------------------------------+-------------------------------------

Comment (by sabernhardt):

 I recommend removing `.search-box` to make the selector
 `input[type="search"]::-webkit-search-cancel-button`. If the WebKit cancel
 button should have the `pointer` cursor in the Core search box, it should
 have the same for any other search input that might be on the page.

 Also, `.wp-filter .search-input button.clear` seems unnecessary. I could
 not find any element with the `search-input` class (or a button with the
 `clear` class).

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


More information about the wp-trac mailing list