Bug 197190

Summary: Missing touchstart event when tabindex used
Product: WebKit Reporter: Roland Soos <roland>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: dino, graouts, rniwa, thorton, webkit-bug-importer, wenson_hsieh, zalan
Priority: P2 Keywords: InRadar
Version: Safari 12   
Hardware: iPhone / iPad   
OS: Unspecified   

Roland Soos
Reported 2019-04-23 01:30:19 PDT
On touch based Apple devices, if an element has tabindex then you can "activate" it when you touch near that element. The problem is that it does activate for example :HOVER css, but fails to trigger the touchstart, etc... events. Here is an example: https://codepen.io/mm00/pen/JVaERz Full view to test: https://codepen.io/mm00/full/JVaERz The circle has 20px margin. If you touch the margin (not the circle itself), the circle will turn into green with :HOVER, but there will be no touchstart event. I think the effect of the touch should be consistent, either it should fire the touch* events, or it shouldn't mark the element as hovered.
Attachments
Radar WebKit Bug Importer
Comment 1 2019-04-23 08:32:11 PDT
Note You need to log in before you can comment on or make changes to this bug.