Skip to content

Commit

Permalink
Revert "Drop cursor pointer for button role"
Browse files Browse the repository at this point in the history
This reverts commit 6106730.

The normalize.css pull request (necolas/normalize.css#379 )
was REJECTED, *NOT* merged!
  • Loading branch information
cvrebert committed Nov 13, 2015
1 parent 73b02c8 commit 920f7fd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions scss/_reboot.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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
//
Expand Down

0 comments on commit 920f7fd

Please sign in to comment.