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<mailto: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

Reply via email to