aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scss/_reboot.scss11
1 files changed, 11 insertions, 0 deletions
diff --git a/scss/_reboot.scss b/scss/_reboot.scss
index ae183e7ea..e4db70a9a 100644
--- a/scss/_reboot.scss
+++ b/scss/_reboot.scss
@@ -196,6 +196,17 @@ img {
}
+// iOS "clickable elements" fix for role="button"
+//
+// Fixes "clickability" issue (and more generally, the firing of events such as focus as well)
+// for traditionally non-focusable elements with role="button"
+// see https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
+// Upstream patch for normalize.css submitted: https://github.com/necolas/normalize.css/pull/379 - remove this fix once that is merged
+
+[role="button"] {
+ cursor: pointer;
+}
+
//
// Tables
//