WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
265162
AX: voice over not sending simulating correct events
https://bugs.webkit.org/show_bug.cgi?id=265162
Summary
AX: voice over not sending simulating correct events
nickygencs
Reported
2023-11-20 15:06:12 PST
<!DOCTYPE html> <html> <body> <div tabindex="-1" id="a">My First Heading</div> <script> function x(event) { console.log(event.type, event) }; document.getElementById("a").addEventListener('mousedown', x); document.getElementById("a").addEventListener('mouseup', x); document.getElementById("a").addEventListener('focus', x); document.getElementById("a").addEventListener('blur', x); document.getElementById("a").addEventListener('touchstart', x); document.getElementById("a").addEventListener('touchend', x); document.getElementById("a").addEventListener('touchcancel', x); document.getElementById("a").addEventListener('click', x); document.getElementById("a").addEventListener('dblclick', x); const el = document.getElementById("a"); el.onpointerdown = x; el.onpointerup = x; el.onpointercancel = x; </script> </body> </html> According to apple docs for voiceover: “Double-tap the selected item=Triple tap"
https://support.apple.com/guide/iphone/use-voiceover-gestures-iph3e2e2281/ios
However I’m not seeing the correct JavaScript events being simulated. The code above adds listeners for touchstart, touchend, click, and dblclick events and then logs them. With voiceover off and double tapping the div in the fiddle I see the following events logged: touchstart touchend click touchstart touchend click dblclick With voiceover on and triple tapping the div in the fiddle I see the following events logged: touchstart touchend (1098ms apart) This makes it impossible for anyone to actually capture a dblclick when voiceover is on? is this expected?
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-11-20 15:06:20 PST
<
rdar://problem/118663243
>
nickygencs
Comment 2
2024-01-31 09:26:26 PST
any updates?
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug