Bug 190870 - Make scrollable element focusable
Summary: Make scrollable element focusable
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: Safari 12
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-10-24 05:46 PDT by Hugo Holgersson
Modified: 2019-10-01 14:10 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hugo Holgersson 2018-10-24 05:46:22 PDT
We plan to fix this in Chrome, see
https://chromium-review.googlesource.com/c/chromium/src/+/1258331.

Spec discussion: https://github.com/whatwg/html/issues/2851.

Expected: Scrollable divs have tabIndex=0 and can be focused using sequential navigation.

Actual: Scrollable divs have tabIndex=-1 and cannot be focused using sequential navigation.
Comment 1 Radar WebKit Bug Importer 2018-10-24 05:46:51 PDT
<rdar://problem/45517980>
Comment 2 Ryosuke Niwa 2019-10-01 14:10:16 PDT
Making scrollable element focusable might be good for UX but it has a major implementation challenge, which is that this would require computing the up-to-date style for an element to decide whether a given element is focusable or not.

We're actively tying to avoid updating the style to decide focusability of an element, and this goes directly against that goal.