Skip to content

Commit

Permalink
Merge pull request #15947 from patrickhlauke/ios-click-fix-role-button
Browse files Browse the repository at this point in the history
iOS fix for role="button" elements; [fixes #15935]
  • Loading branch information
patrickhlauke committed Mar 2, 2015
2 parents 46f5a8f + 9c3e7e5 commit 8e6934c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions less/scaffolding.less
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 8e6934c

Please sign in to comment.