|Summary:||Make scrollable element focusable|
|Product:||WebKit||Reporter:||Hugo Holgersson <hugo.holgersson>|
|Severity:||Normal||CC:||cfleizach, eoconnor, jcraig, koivisto, rniwa, webkit-bug-importer|
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 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.