Re: [w3c/webcomponents] Fix #556, make focus navigation work when shadow host's tabindex is -1 (#557)

> @@ -1260,9 +1260,15 @@
>                  <li>Let <var>NAVIGATION-ORDER</var> be an empty list.</li>
>                  <li>For each element <var>ELEMENT</var> in a <a>focus navigation scope</a> <var>SCOPE</var>,
>                    <ol>
> -                    <li>if <var>ELEMENT</var> is focusable, a <a>shadow host</a>, or a <a>slot element</a>, append <var>ELEMENT</var> to <var>NAVIGATION-ORDER</var>.</li>
> +                    <li>If <var>ELEMENT</var> is a <a>shadow host</a>:
> +                      <ol>
> +                        <li>If its <a>tabindex</a> value is not negative and its <a>shadow root</a>'s delegatesFocus flag is set, append <var>ELEMENT</var> to <var>NAVIGATION-ORDER</var>.</li>
> +                        <li>Otherwise, append <var>ELEMENT</var> to <var>NAVIGATION-ORDER</var>.</li>
> +                      </ol>
> +                    </li>
> +                    <li>Otherwise if <var>ELEMENT</var> is focusable, or a <a>slot element</a>, and its <a>tabindex</a> value is not negative, append <var>ELEMENT</var> to <var>NAVIGATION-ORDER</var>.</li>

The "and", "or" relationship are confusing. Could you make this explicit?

-- 
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/557/files/a5929ff64f56951ea6ec605bed7972e42e8e53be#r76718677

Received on Tuesday, 30 August 2016 01:40:58 UTC