Skip to content

Commit

Permalink
Merge pull request #7 from niksawtschuk/tappable-area-apple
Browse files Browse the repository at this point in the history
use 44pt as the default minimum size for tappable elements
  • Loading branch information
j-sid committed Dec 7, 2018
2 parents 791d06c + 1fcdc77 commit 0bc545d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Classes/GTXChecksCollection.m
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@
#pragma mark - Globals

/**
* The minimum size (width or height) for a given element to be easily accessible. Based on
* Material design guidelines:
* https://material.io/design/layout/spacing-methods.html#touch-click-targets
* The minimum size (width or height) for a given element to be easily accessible.
* Based on Apple's Human Interface Guidelines:
* https://developer.apple.com/design/human-interface-guidelines/ios/visual-design/adaptivity-and-layout/
*/
static const float kGTXMinSizeForAccessibleElements = 48.0;
static const float kGTXMinSizeForAccessibleElements = 44.0;

/**
* The minimum contrast ratio for any given text to be considered accessible. Note that smaller
Expand Down

0 comments on commit 0bc545d

Please sign in to comment.