Make WordPress Core

Changeset 61514


Ignore:
Timestamp:
01/23/2026 02:53:27 AM (4 weeks ago)
Author:
joedolson
Message:

A11y: Use pointer cursor on webkit field cancellation buttons.

Webkit-based browsers add a cancel button to search inputs. This input uses the default cursor standard to buttons and inputs, but the WordPress admin applies the pointer cursor to buttons and inputs. Apply the WordPress standard pointer to this pseudoelement for UI consistency.

Props sumitsingh, manhphucofficial, joedolson, sabernhardt, dhruvang21.
Fixes #64382.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/forms.css

    r61480 r61514  
    210210}
    211211
     212input[type="search"]::-webkit-search-cancel-button {
     213    cursor: pointer;
     214}
     215
    212216.wp-admin input[type="file"] {
    213217    padding: 3px 0;
Note: See TracChangeset for help on using the changeset viewer.