Bug 190870
Summary: | Make scrollable element focusable | ||
---|---|---|---|
Product: | WebKit | Reporter: | Hugo Holgersson <hugo.holgersson> |
Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | boghyon+webkit, cfleizach, eoconnor, jcraig, koivisto, rniwa, webkit-bug-importer, woodlxf00 |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari 12 | ||
Hardware: | All | ||
OS: | All |
Hugo Holgersson
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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/45517980>
Ryosuke Niwa
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.