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

WordPress Trac noreply at wordpress.org
Tue Dec 9 06:44:25 UTC 2025


#64382: Post search input “close” (×) button should use cursor: pointer
-------------------------------------------------+-------------------------
 Reporter:  sumitsingh                           |      Owner:  (none)
     Type:  defect (bug)                         |     Status:  new
 Priority:  normal                               |  Milestone:  Awaiting
                                                 |  Review
Component:  Posts, Post Types                    |    Version:  6.9
 Severity:  normal                               |   Keywords:  has-
  Focuses:  ui, accessibility, css,              |  screenshots
  administration                                 |
-------------------------------------------------+-------------------------
 When using the Posts screen search feature in WP Admin (/wp-
 admin/edit.php), the close (×) button inside the search input field does
 not show a pointer cursor on hover.
 This makes it appear non-interactive even though it is clickable.

 **Steps to Reproduce
 **
 Go to Posts → All Posts in WP Admin.

 Enter a search term (e.g., “uncategorized”).

 Notice the × clear button appears in the search input.

 Hover over the × icon.

 **Expected Behavior**

 The × clear button should display cursor: pointer;

 This will indicate to users that the element is clickable.

 **Actual Behavior**

 The cursor remains default, not pointer.

 This reduces clarity of the UI and affects accessibility & usability.

 **Suggested Fix**

 Add CSS to apply a pointer cursor on the clear button:


 {{{
 .wp-filter .search-input button.clear,
 .search-box input[type="search"]::-webkit-search-cancel-button {
     cursor: pointer;
 }

 }}}

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


More information about the wp-trac mailing list