Skip to content

Commit 1b996a7

Browse files
committed
Formatting and clarity.
1 parent ce67c0a commit 1b996a7

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

source

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90141,15 +90141,16 @@ dictionary <dfn dictionary>DragEventInit</dfn> : <span>MouseEventInit</span> {
9014190141
elements. When applied to an element, it enables directional arrow key navigation among its
9014290142
focusable descendants, forming a <dfn>focus group</dfn>.</p>
9014390143

90144-
<p>The attribute's value is a string of space-separated tokens. For most focusgroups, the first token must be a
90145-
<dfn>behavior token</dfn>, which defines the primary interaction pattern, and subsequent tokens are
90146-
optional <dfn>modifier tokens</dfn>. The special token <code>none</code> is used alone to opt out of focusgroup behavior.</p>
90144+
<p>The attribute's value is a string of space-separated tokens. The first token must either be a
90145+
<dfn>behavior token</dfn>, which defines the primary interaction pattern, or the special token
90146+
<code>none</code> which is used alone to opt out of focusgroup behavior. If a behavior token is
90147+
specified, <dfn>modifier tokens</dfn> can be provided subsequently.</p>
9014790148

9014890149
<h5>Concepts</h5>
9014990150

9015090151
<p>A <dfn>focusgroup owner</dfn> is an element with a valid <code data-x="attr-focusgroup">focusgroup</code> attribute specified, where the attribute value contains a <span data-x="behavior token">behavior token</span> (not <code data-x="attr-focusgroup-none">none</code>).</p>
9015190152

90152-
<p>The <dfn>focusgroup scope</dfn> of a focusgroup owner is the owner itself and all of its <span>shadow-inclusive descendants</span>, excluding any descendants that are themselves focusgroup owners or have opted out with <code data-x="attr-focusgroup-none">focusgroup="none"</code>.</p>
90153+
<p>The <dfn>focusgroup scope</dfn> of a focusgroup owner is the owner itself and all of its <span>shadow-including descendants</span>, excluding any descendants that are themselves focusgroup owners or have opted out with <code data-x="attr-focusgroup-none">focusgroup="none"</code>.</p>
9015390154

9015490155
<p>A <dfn>focusgroup item</dfn> is any <span>focusable</span> element within the focusgroup scope.</p>
9015590156

@@ -90312,7 +90313,7 @@ dictionary <dfn dictionary>DragEventInit</dfn> : <span>MouseEventInit</span> {
9031290313

9031390314
<li><p>Let <var>items</var> be all <span data-x="focusgroup item">focusgroup items</span> in <span>tree order</span>.</p></li>
9031490315

90315-
<li><p>Determine the <var>nextItem</var> by finding the geometrically nearest item in the direction of the arrow key, respecting the <var>owner</var>'s <span>writing mode</span> and <span>direction</span>:</p>
90316+
<li><p>Determine the <var>nextItem</var> by finding the geometrically nearest item in the direction of the arrow key, respecting the <var>owner</var>'s <span>'writing-mode'</span> and <span>'direction'</span>:</p>
9031690317
<ul class="brief">
9031790318
<li>If the <code data-x="attr-focusgroup-inline">inline</code> token is present, only consider items on the inline axis.</li>
9031890319
<li>If the <code data-x="attr-focusgroup-block">block</code> token is present, only consider items on the block axis.</li>

0 commit comments

Comments
 (0)