VoiceOver doesn't fire touchend event after tap in WKWebView

Number:rdar://22256909 Date Originated:8/12/15
Status:Open Resolved:
Product:iOS/WebKit Product Version:8.4
Classification: Reproducible:Always
When I tap a link, I see touchstart > touchend fired. When I tap a link using VoiceOver, only touchstart is fired. Note that this happens only on the first VoiceOver tap; subsequent taps don't fire either event.

I can't find any docs on the intended VoiceOver/touch event interaction, so I don't know if the bug is 1) that a touchend event isn't fired, or 2) that touchstart is fired when it shouldn't be.

Steps to Reproduce:
1. Go to https://people.mozilla.org/~bnicholson/test/touchend.html
2. Tap without VoiceOver; see touchstart > touchend > mousedown > mouseup
3. Tap with VoiceOver; see touchstart > mousedown > mouseup

Expected Results:
I would expect either:

1. touchend to be fired after the touchstart event. Also, touchstart and touchend to be fired after all taps, not just the first one.


2. Neither touchstart nor touchend are fired at all.

Actual Results:
touchstart is fired, but touchend is not. And it's fired only after the first tap.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!