Accessibility: Improve the file upload inputs styling.

Though browsers implement `cursor: pointer` on this kind of controls a bit 
inconsistently, the `pointer` cursor styling makes more clear the button and
label are actionable controls.

Props Ankit K Gupta.
Fixes #35552.

Built from https://develop.svn.wordpress.org/trunk@38435


git-svn-id: http://core.svn.wordpress.org/trunk@38376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrea Fercia 2016-08-29 21:08:29 +00:00
parent 27770f200c
commit 42c4653c9a
7 changed files with 9 additions and 5 deletions

View File

@ -204,6 +204,7 @@ textarea {
.wp-admin input[type="file"] {
padding: 3px 0;
cursor: pointer;
}
label {
@ -297,6 +298,7 @@ input[type="range"].disabled {
background: none;
-webkit-box-shadow: none;
box-shadow: none;
cursor: default;
}
input[type="checkbox"]:disabled,

File diff suppressed because one or more lines are too long

View File

@ -204,6 +204,7 @@ textarea {
.wp-admin input[type="file"] {
padding: 3px 0;
cursor: pointer;
}
label {
@ -297,6 +298,7 @@ input[type="range"].disabled {
background: none;
-webkit-box-shadow: none;
box-shadow: none;
cursor: default;
}
input[type="checkbox"]:disabled,

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.7-alpha-38434';
$wp_version = '4.7-alpha-38435';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.