Bug 147983

Summary: Impossible to set focus in context menu using JavaScript (after listening for the tap and hold event.
Product: WebKit Reporter: Birkir R. Gunnarsson <birkir.gunnarsson>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 525.x (Safari 3.2)   
Hardware: iPhone / iPad   
OS: iOS 8.2   

Description Birkir R. Gunnarsson 2015-08-13 12:15:45 PDT
When using the tap and hold event to bring up an element's custom context menu, the
Voiceover focus cannot be programmatically set to the desired element
when the menu opens. It always ends up somewhere near the "back"
button (at least when you swipe from current position to the right
that is where you end up).
When opening the same menu using a double click event (same focus
management script) the focus goes where it is supposed to.
http://a11yideas.com/testcode/touch_gestuer_html_css.html
(text on page has further notes on the problem(.
Comment 1 David Kilzer (:ddkilzer) 2016-09-08 14:51:23 PDT
<rdar://problem/28214730>