Re: [w3c/webcomponents] Add delegatesFocus in the Shadow DOM spec. (#480)

> @@ -1137,6 +1137,20 @@
>        </section>
>  
>        <section>
> +        <h3>Focus</h3>
> +      <p>A <a>shadow host</a> can delegate focus to its <a>shadow root</a> by assigning a boolean <a href="#widl-ShadowRootInit-delegatesFocus">delegatesFocus</a> flag to be true in <a href="#idl-def-ShadowRootInit">ShadowRootInit</a> dictionary. If omitted, a <a>shadow host</a> does not delegate focus to its shadow root, and the shadow host itself can be focusable.</p>
> +        <p>When a shadow host <var>HOST</var> delegates focus, user agent <strong>must</strong> behave as follows.
> +          <ol>
> +            <li>In <a>sequential focus navigation</a>, <var>HOST</var> itself will be skipped. See the next secition for the formal definition.</li>
> +            <li>When <var>HOST</var> is focused by <code>focus()</code> method or <code>autofocus</code> attribute: The first <a>focusable area</a> in the tree order in <var>HOST</var>'s <a>shadow tree</a> gets focus.</li>

Tabindex is not used here to determine the first focusable area?

---
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/pull/480/files/807ca2e12c632601d56cc2e6e75f08f9fdbd91b7#r58979103

Received on Friday, 8 April 2016 04:33:10 UTC