Hi,

Changes for Blink have landed and now you can play this by enabling
"experimental web platform features"
in chrome://flags.

Now I am proposing this as a patch to shadow DOM, at
https://github.com/w3c/webcomponents/blob/gh-pages/proposals/ShadowRoot-delegatesFocus-Proposal.md
Feel free to comment here, or at github issue tracker.

(The full version of the doc also moved to markdown format, at
https://github.com/TakayoshiKochi/tabindex-focus-navigation-explainer/blob/master/TabindexFocusNavigationExplainer.md
)


On Wed, Jun 3, 2015 at 4:47 PM, Takayoshi Kochi (河内 隆仁) <ko...@google.com>
wrote:

> Hi,
>
> (cross-posting mostly the same content to blink-...@chromium.org, sorry
> for duplication if you encounter this twice)
>
> With much feedback from many people, I've updated the design doc.
>
> https://docs.google.com/document/d/1k93Ez6yNSyWQDtGjdJJqTBPmljk9l2WS3JTe5OHHB50/edit?usp=sharing
> Thanks all who have shared thoughts and experience with me.
>
> The biggest change is that "tabStop" property on Element moved to
> ShadowRoot, as "delegatesFocus".
>
> After implementing the spec on Blink, I noticed that even tabStop property
> is
> on every Element, it has effect only on shadow hosts, which is very
> confusing.
> So delegatesFocus should make more clear sense on shadow hosts.
>
> With the new spec, delegatesFocus can be specified via ShadowRootInit
> dictionary,
> which is a parameter to createShadowRoot().
>
> I'll start making changes in Blink immediately.
>
> For reference, I copied a snapshot of old doc (Mar. 19):
>
> https://docs.google.com/document/d/1wFXrPYmoqb8-b-rfZdmcVfZt09NaTFyOLvGztdlIPxE/edit#
>
> Any comment is welcome.
>
> On Thu, Jan 22, 2015 at 6:38 AM, Domenic Denicola <d...@domenic.me> wrote:
>
>>  Thanks Takoyoshi! This new version looks great to me. It would allow
>> people to create custom elements with the same focus capabilities as native
>> elements, including both the simple cases (like <custom-a>) and the more
>> complicated ones with a shadow DOM (like <custom-input type="date">). Very
>> exciting stuff!
>>
>>
>>
>> I hope others are as enthused as I am :)
>>
>>
>>
>> *From:* Takayoshi Kochi (河内 隆仁) [mailto:ko...@google.com]
>> *Sent:* Wednesday, January 21, 2015 02:41
>> *To:* public-webapps
>> *Subject:* Re: Better focus support for Shadow DOM
>>
>>
>>
>> Hi,
>>
>>
>>
>> After conversation with Domenic Denicola, I changed the title and the
>> whole story of
>>
>> solving this issue, though the result is not quite different.  Instead of
>> adding "delegatesFocus"
>>
>> property, we added "isTabStop()" to expose "tab focusable flag" explained
>> in HTML5 spec.
>>
>>
>>
>>
>> https://docs.google.com/document/d/1k93Ez6yNSyWQDtGjdJJqTBPmljk9l2WS3JTe5OHHB50/edit?usp=sharing
>>
>>
>>
>> Any comments/suggestions welcome.
>>
>>
>>
>> On Wed, Jan 14, 2015 at 2:27 PM, Takayoshi Kochi (河内 隆仁) <
>> ko...@google.com> wrote:
>>
>>  Hi,
>>
>>
>>
>> For shadow DOMs which has multiple focusable fields under the host,
>>
>> the current behavior of tab navigation order gets somewhat weird
>>
>> when you want to specify tabindex explicitly.
>>
>>
>>
>> This is the doc to introduce a new attribute "delegatesFocus" to resolve
>> the issue.
>>
>>
>> https://docs.google.com/document/d/1k93Ez6yNSyWQDtGjdJJqTBPmljk9l2WS3JTe5OHHB50/edit?usp=sharing
>>
>>
>>
>> Any comments are welcome!
>>
>> --
>>
>> Takayoshi Kochi
>>
>>
>>
>>
>>
>> --
>>
>> Takayoshi Kochi
>>
>
>
>
> --
> Takayoshi Kochi
>



-- 
Takayoshi Kochi

Reply via email to