From: Patrick H. Lauke Date: Sat, 28 Feb 2015 15:41:55 +0000 (+0000) Subject: iOS fix for role="button" elements; [fixes #15935] X-Git-Tag: v3.3.4~46^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c3e7e5861e6ba200a75bf4a63d0e5be0ef9f608;p=thirdparty%2Fbootstrap.git iOS fix for role="button" elements; [fixes #15935] 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) Fixes #15935 --- diff --git a/less/scaffolding.less b/less/scaffolding.less index 2a40fbcbe4..532ca92d02 100644 --- a/less/scaffolding.less +++ b/less/scaffolding.less @@ -148,3 +148,14 @@ hr { clip: auto; } } + + +// 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 + +[role="button"] { + cursor: pointer; +} \ No newline at end of file