Bug 159764

Summary: HTML element with tabindex=0 is not focusable on iPhone
Product: WebKit Reporter: Arley Triana <atriana01>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Blocker CC: atriana01, cdumez, cfleizach, rniwa
Priority: P2    
Version: Safari 9   
Hardware: iPhone / iPad   
OS: iOS 9.3   

Arley Triana
Reported 2016-07-14 07:57:40 PDT
Problem description: An HTML element with the tabindex attribute set to "0" is not focusable on iPhone. Steps to reproduce the issue: 1. Navigate to the URL https://output.jsbin.com/furuheq (edit version https://jsbin.com/furuheq/edit?html,css,js,console) 2. Press the box What is the expected result? The focus should be set to the focusable HTML element and the "focusin" event should be fired. What happens instead? The focus is not set to the focusable HTML element and the "focusin" event is not fired. Additional information to reproduce the issue: OS Version: iOS 9.3.2 (13F69) on iPhone
Attachments
Chris Dumez
Comment 1 2016-07-15 08:27:56 PDT
Can reproduce with WebKit ToT on iPhone. Works fine on Mac.
Chris Dumez
Comment 2 2016-07-15 08:40:45 PDT
It is actually not specific to tabIndex=0. If you update the test case to use tabIndex=1, the element still is not focusable on iOS but is on Mac.
Arley Triana
Comment 3 2016-07-16 13:50:22 PDT
Browsers tested: Safari on iOS (mobile): NOT OK Chrome on iOS (mobile): NOT OK Chrome on Android 6 (mobile Samsung S6): OK Chrome on Windows 10 (desktop): OK Safari on Mac OS (desktop): OK Edge on Windows 10 (desktop): OK
Lucas Forschler
Comment 4 2019-02-06 09:18:23 PST
Mass move bugs into the DOM component.
Ryosuke Niwa
Comment 5 2019-07-08 19:41:12 PDT
This issue has since been fixed in iOS 13 / iPadOS.
Note You need to log in before you can comment on or make changes to this bug.