Re: [webcomponents] Proposed change for Focus Navigation (#447)

> +
> +        <p><dfn>document sequential focus navigation order</dfn> is an order of all of the <a data-lt="focusable area">focusable areas</a> <a>in a composed document</a>, reachable by <a>sequential focus navigation</a>.</p>
> +
> +        <p>When a composed document is given, the <a>document sequential focus navigation order</a> is determined by the following steps:</p>
> +
> +        <p>Step 1.</p>
> +        <div class="algorithm">
> +          <dl>
> +            <dt>INPUT</dt>
> +            <dd><var>DOCUMENT</var>, a composed document</dd>
> +            <dt>OUTPUT</dt>
> +            <dd><var>OWNERS</var>, a set of <a>focus navigation scope owner</a> nodes</dd>
> +          </dl>
> +          <ol>
> +            <li>Let <var>OWNERS</var> be an empty set.</li>
> +            <li>For each node tree <var>TREE</var> in <var>DOCUMENT</var>:

Now you can use https://dom.spec.whatwg.org/#concept-shadow-including-tree-order.
Or, given that the order is not important, you can simply say:
- Let OWNERS be focus owner nodes whose shadow-including root is *document*.


---
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/447/files/b8990e6ad1dfc0b4c2eebbaf8cb2e85437c5628a#r57274504

Received on Thursday, 24 March 2016 04:52:39 UTC