- From: Takayoshi Kochi <notifications@github.com>
- Date: Wed, 24 Feb 2016 01:28:10 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Wednesday, 24 February 2016 09:29:07 UTC
Thus, the changes I would like to introduce is basically listed [here](https://github.com/TakayoshiKochi/tabindex-focus-navigation-explainer/blob/master/TabindexFocusNavigationExplainer.md#delegatesfocus-details), by giving `delegatesFocus: true` in `attachShadow()` will affect: 1. if shadow host has 0 or positive `tabindex` attribute value, the sequential navigation order honors that value, but actual focus goes into an element in its shadow (depending on navigation order, first or last focusable element in shadow will be picked) 2. `focus()` on a shadow host will also delegate focus to its shadow 3. `autofocus` attribute on a shadow host will also delegate focus to its shadow 4. If non-focusable area in shadow is clicked, shadow host gets focus but then delegates focus to its shadow 5. CSS `:focus` pseudo class on shadow host should match when its shadow or its descendant has focus @rniwa @travisleithead @annevk any opinion for each item above? --- Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/126#issuecomment-188160444
Received on Wednesday, 24 February 2016 09:29:07 UTC