From 920f7fd695cd5efca346b518a91e47218f16290c Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Thu, 12 Nov 2015 23:43:13 -0800 Subject: [PATCH] Revert "Drop cursor pointer for button role" This reverts commit 61067304cd8ad4394af69003971b4e9c3aa94c55. The normalize.css pull request (https://github.com/necolas/normalize.css/pull/379 ) was REJECTED, *NOT* merged! --- scss/_reboot.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/scss/_reboot.scss b/scss/_reboot.scss index ae183e7ea1..e4db70a9a1 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 //