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.
Built from https://develop.svn.wordpress.org/trunk@61514


git-svn-id: http://core.svn.wordpress.org/trunk@60825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
joedolson
2026-01-23 02:54:35 +00:00
parent e120b3656f
commit 6737291dca
5 changed files with 11 additions and 3 deletions

View File

@@ -210,6 +210,10 @@ input[type="search"]::-webkit-search-decoration {
display: none;
}
input[type="search"]::-webkit-search-cancel-button {
cursor: pointer;
}
.wp-admin input[type="file"] {
padding: 3px 0;
cursor: pointer;

File diff suppressed because one or more lines are too long

View File

@@ -209,6 +209,10 @@ input[type="search"]::-webkit-search-decoration {
display: none;
}
input[type="search"]::-webkit-search-cancel-button {
cursor: pointer;
}
.wp-admin input[type="file"] {
padding: 3px 0;
cursor: pointer;

File diff suppressed because one or more lines are too long

View File

@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '7.0-alpha-61513';
$wp_version = '7.0-alpha-61514';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.