_accessibitlityHitTest uses random order?
_accessibitlityHitTest uses random order?
- Subject: _accessibitlityHitTest uses random order?
- From: Kwasi Mensah <email@hidden>
- Date: Sat, 16 Mar 2013 14:10:33 -0400
Short version:
I'm having trouble on ios 6.1 getting accessibility hit testing to properly navigate my UI hierarchy. It doesn't seem to be following the rules of normal hit testing.
Long version:
I'm having an issue on ios 6.1 were my accessibiltiy elements can be navigated properly if you use swipe gestures to move between them. But if you try to directly touch our custom button or label the voiceover cursor disappears and VoiceOver won't focus on anything again.
Making our version of pointInside:withEvent return false if the element is supposed to be hidden before calling the super version does get _accessibitlityHitTest:withEvent to look at the parent of our custom element. But [super pointInside:withEvent] returns false because it's given a point outside our object (even after converting the passed in point to window coordinates, they're negative). Note, the point is correct when is called for the grandparent of our custom object. For example after calling p (CGPoint)[self convertPoint:point toView:nil] to get window coordinates:
grand parent: (CGPoint) $84 = (x=174, y=265.5)
parent: (CGPoint) $85 = (x=-76, y=-594.5)
I've been staring at this problem for a while and its time to see if anyone else knows what's going on. Please let me know if more information would be helpful!
Kwasi
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden