- From: Ryosuke Niwa <notifications@github.com>
- Date: Thu, 29 Aug 2019 21:43:41 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 30 August 2019 04:44:04 UTC
The disconnect here is that it's highly desirable for JS API `element.focus()` to have interoperable behavior across browsers yet what's being proposed and what Chrome implements can't be. Also, I'm not certain that using the keyboard-based sequential focus navigation order for when a host element is clicked makes much sense. If the user is clicking somewhere a more sensible thing for the component might be to select the nearest element there is to where the user clicked so perhaps some kind of an event-based focus delegation is needed anyway. In the case where keyboard is used to move focus, however, it obviously makes sense that `tabIndex` order is used. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/830#issuecomment-526453182
Received on Friday, 30 August 2019 04:44:04 UTC