{"action":"created","issue":{"url":"https://api.github.com/repos/calabash/calabash-ios/issues/780","labels_url":"https://api.github.com/repos/calabash/calabash-ios/issues/780/labels{/name}","comments_url":"https://api.github.com/repos/calabash/calabash-ios/issues/780/comments","events_url":"https://api.github.com/repos/calabash/calabash-ios/issues/780/events","html_url":"https://github.com/calabash/calabash-ios/issues/780","id":84474051,"number":780,"title":"Take Account for accessibilityActivationPoint","user":{"login":"fabb","id":153960,"avatar_url":"https://avatars.githubusercontent.com/u/153960?v=3","gravatar_id":"","url":"https://api.github.com/users/fabb","html_url":"https://github.com/fabb","followers_url":"https://api.github.com/users/fabb/followers","following_url":"https://api.github.com/users/fabb/following{/other_user}","gists_url":"https://api.github.com/users/fabb/gists{/gist_id}","starred_url":"https://api.github.com/users/fabb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabb/subscriptions","organizations_url":"https://api.github.com/users/fabb/orgs","repos_url":"https://api.github.com/users/fabb/repos","events_url":"https://api.github.com/users/fabb/events{/privacy}","received_events_url":"https://api.github.com/users/fabb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/calabash/calabash-ios/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/calabash/calabash-ios/labels/requesting%20feedback","name":"requesting feedback","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-03T10:01:12Z","updated_at":"2015-06-17T09:06:50Z","closed_at":null,"body":"`accessibilityActivationPoint` might give a different point than the middle of an element. `touch` does not take account for that and might miss the clicking area of an element, as it touches in its center.\r\nI'm not sure whether `touch` should take account for `accessibilityActivationPoint` or not. What do you think?"},"comment":{"url":"https://api.github.com/repos/calabash/calabash-ios/issues/comments/112729626","html_url":"https://github.com/calabash/calabash-ios/issues/780#issuecomment-112729626","issue_url":"https://api.github.com/repos/calabash/calabash-ios/issues/780","id":112729626,"user":{"login":"fabb","id":153960,"avatar_url":"https://avatars.githubusercontent.com/u/153960?v=3","gravatar_id":"","url":"https://api.github.com/users/fabb","html_url":"https://github.com/fabb","followers_url":"https://api.github.com/users/fabb/followers","following_url":"https://api.github.com/users/fabb/following{/other_user}","gists_url":"https://api.github.com/users/fabb/gists{/gist_id}","starred_url":"https://api.github.com/users/fabb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabb/subscriptions","organizations_url":"https://api.github.com/users/fabb/orgs","repos_url":"https://api.github.com/users/fabb/repos","events_url":"https://api.github.com/users/fabb/events{/privacy}","received_events_url":"https://api.github.com/users/fabb/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T09:06:50Z","updated_at":"2015-06-17T09:06:50Z","body":"@jmoody I just learned about it too, as I tried to make our login mask usable for blind people. Our login mask is *not* table view based, but contains `UISwitch`es with Labels next to it. We have a custom view `SwitchWithLabelView` for these. For accessibility I made the whole view into an accessibility element by overriding `-isAccessibilityElement` and returning `YES`. Apart from overriding `-accessibilityLabel`, `-accessibilityValue` and `-accessibilityTraits` I also had to override `-accessibilityActivationPoint` as with VoiceOver activated, tapping on the element would not toggle the switch.\r\nUsing Calabash for automated UI tests is a bit different from having VoiceOver activated, so I'm also not sure which priority this has. As a workaround for our tests, we adapted the query to press the `descendant switch` of the given accessibility id for these `SwitchWithLabelView` elements."}}