Bug 197190 - Missing touchstart event when tabindex used
Summary: Missing touchstart event when tabindex used
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Safari 12
Hardware: iPhone / iPad Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-04-23 01:30 PDT by Roland Soos
Modified: 2019-04-23 10:21 PDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roland Soos 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.
Comment 1 Radar WebKit Bug Importer 2019-04-23 08:32:11 PDT
<rdar://problem/50130556>