Bug 239505

Summary: Focusable elements no longer receive focus in Safari 15.4
Product: WebKit Reporter: Liam DeBeasi <ldebeasi>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: koivisto, rego
Priority: P2    
Version: Safari 15   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Code reproduction none

Description Liam DeBeasi 2022-04-19 10:10:09 PDT
Created attachment 457911 [details]
Code reproduction

As of Safari 15.4, certain focusable elements such as <button> no longer receive focus.

Steps to reproduce:

1. Open the attached code reproduction in Safari 15.4 for macOS.
2. Press the "Tab" key. Observe that the button element does not receive focus.

Expected Behavior:

I expect that the button will receive focus.

Actual Behavior:

The button does not receive focus.

Other Information:

- This works as expected in the latest versions of Chrome and Firefox.
- This works as expected in Safari 15.2 for macOS.
- I can reproduce this in STP 143