- From: Takayoshi Kochi <notifications@github.com>
- Date: Tue, 02 Feb 2016 21:43:25 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Wednesday, 3 February 2016 05:44:00 UTC
@rniwa in https://github.com/w3c/webcomponents/issues/375#issuecomment-178630606 's composed tree example, as `<my-nameinput>` doesn't have `tabindex`, I guess `#search` is visited first, then dive inside `<my-nameinput>`, because in that scope there are only `<my-nameinput>` and `<input>` and even we implicitly treat `<my-nameinput>`'s scope order as `tabindex=0`. So even if you were just a web author using the third-party `<contact-card>` component, you have to be aware that there are separate `tabindex` scopes, one in `<contact-card>` and one in the main document. If it's `<contact-card>`, it can be imaginable that the element is probably a custom element with shadow DOM, but in the case when it is a `<div>` with a shadow DOM, it will be hard to distinguish scopes at looking at the main document source alone? Let me think more... --- Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/375#issuecomment-179025291
Received on Wednesday, 3 February 2016 05:44:00 UTC