From 2936068f96bfb1b09764875fe7ecd00abcbe76fa Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Mon, 29 Aug 2016 21:07:31 +0000 Subject: [PATCH] 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. git-svn-id: https://develop.svn.wordpress.org/trunk@38435 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/forms.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wp-admin/css/forms.css b/src/wp-admin/css/forms.css index 15be606f8e..8a1bf22fae 100644 --- a/src/wp-admin/css/forms.css +++ b/src/wp-admin/css/forms.css @@ -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,