[html5] r7005 - [e] (0) Clean up the term 'specially focusable' and the requirements around it s [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Feb 21 21:26:17 PST 2012


Author: ianh
Date: 2012-02-21 21:26:16 -0800 (Tue, 21 Feb 2012)
New Revision: 7005

Modified:
   complete.html
   index
   source
Log:
[e] (0) Clean up the term 'specially focusable' and the requirements around it so that it all makes more sense. In particular, clarify that 'being rendered' is a prerequisite to being focusable even if you have tabindex='' set.
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2012-02-22 00:34:31 UTC (rev 7004)
+++ complete.html	2012-02-22 05:26:16 UTC (rev 7005)
@@ -56642,7 +56642,7 @@
 
        <li><code><a href=#the-command-element>command</a></code> elements that do not have a <code title=attr-command-disabled><a href=#attr-command-disabled>disabled</a></code> attribute</li>
 
-       <li>elements that are <a href=#specially-focusable>specially focusable</a></li>
+       <li>elements that have their <a href=#specially-focusable>tabindex focus flag</a> set</li>
 
       </ul><p class=example>For example, if the user is using a keyboard
       to push a <code><a href=#the-button-element>button</a></code> element by pressing the space bar,
@@ -71101,9 +71101,10 @@
   <h4 id=sequential-focus-navigation-and-the-tabindex-attribute><span class=secno>8.3.1 </span>Sequential focus navigation and the <code title=attr-tabindex><a href=#attr-tabindex>tabindex</a></code> attribute</h4>
 
   <p>The <dfn id=attr-tabindex title=attr-tabindex><code>tabindex</code></dfn>
-  content attribute specifies whether the element is focusable,
-  whether it can be reached using sequential focus navigation, and the
-  relative order of the element for the purposes of sequential focus
+  content attribute allows authors to control whether an element is
+  supposed to be focusable, whether it is supposed to be reachable
+  using sequential focus navigation, and what is to be the relative
+  order of the element for the purposes of sequential focus
   navigation. The name "tab index" comes from the common use of the
   "tab" key to navigate through the focusable elements. The term
   "tabbing" refers to moving forward through the focusable elements
@@ -71115,6 +71116,11 @@
 
   <div class=impl>
 
+  <p>Each element has a <dfn id=specially-focusable>tabindex focus
+  flag</dfn>. This flag is a factor that contributes towards
+  determining whether an element is <a href=#focusable>focusable</a>, as
+  described in the next section.</p>
+
   <p>If the attribute is specified, it must be parsed using the
   <a href=#rules-for-parsing-integers>rules for parsing integers</a>. The attribute's values have
   the following meanings:</p>
@@ -71124,15 +71130,16 @@
 
    <dd>
 
-    <p>The user agent should follow platform conventions to determine if
-    the element is to be focusable and, if so, whether the element can
-    be reached using sequential focus navigation, and if so, what its
-    relative order should be.</p>
+    <p>The user agent should follow platform conventions to determine
+    if the element's <a href=#specially-focusable>tabindex focus flag</a> is set and, if
+    so, whether the element can be reached using sequential focus
+    navigation, and if so, what its relative order should be.</p>
 
     <p class=note>One valid reason to ignore the platform
-    conventions and always allow an element to be focused would be if
-    the user's only mechanism for activating an element is through a
-    keyboard action that triggers the focused element.</p>
+    conventions and always allow an element to be focused (by setting
+    its <a href=#specially-focusable>tabindex focus flag</a>) would be if the user's only
+    mechanism for activating an element is through a keyboard action
+    that triggers the focused element.</p>
 
    </dd>
 
@@ -71140,9 +71147,9 @@
 
    <dd>
 
-    <p>The user agent must allow the element to be focused, but should
-    not allow the element to be reached using sequential focus
-    navigation.</p>
+    <p>The user agent must set the element's <a href=#specially-focusable>tabindex focus
+    flag</a>, but should not allow the element to be reached using
+    sequential focus navigation.</p>
 
     <p class=note>One valid reason to ignore the requirement that
     sequential focus navigation not allow the author to lead to the
@@ -71158,10 +71165,10 @@
 
    <dd>
 
-    <p>The user agent must allow the element to be focused, should
-    allow the element to be reached using sequential focus navigation,
-    and should follow platform conventions to determine the element's
-    relative order.</p>
+    <p>The user agent must set the element's <a href=#specially-focusable>tabindex focus
+    flag</a>, should allow the element to be reached using
+    sequential focus navigation, and should follow platform
+    conventions to determine the element's relative order.</p>
 
    </dd>
 
@@ -71169,15 +71176,15 @@
 
    <dd>
 
-    <p>The user agent must allow the element to be focused, should
-    allow the element to be reached using sequential focus navigation,
-    and should place the element in the sequential focus navigation
-    order so that it is:</p>
+    <p>The user agent must set the element's <a href=#specially-focusable>tabindex focus
+    flag</a>, should allow the element to be reached using
+    sequential focus navigation, and should place the element in the
+    sequential focus navigation order so that it is:</p>
 
-    <ul><li>before any focusable element whose <code title=attr-tabindex><a href=#attr-tabindex>tabindex</a></code> attribute has been
-     omitted or whose value, when parsed, returns an error,</li>
+    <ul><li>before any <a href=#focusable>focusable</a> element whose <code title=attr-tabindex><a href=#attr-tabindex>tabindex</a></code> attribute has been omitted
+     or whose value, when parsed, returns an error,</li>
 
-     <li>before any focusable element whose <code title=attr-tabindex><a href=#attr-tabindex>tabindex</a></code> attribute has a value equal
+     <li>before any <a href=#focusable>focusable</a> element whose <code title=attr-tabindex><a href=#attr-tabindex>tabindex</a></code> attribute has a value equal
      to or less than zero,</li>
 
      <li>after any element whose <code title=attr-tabindex><a href=#attr-tabindex>tabindex</a></code> attribute has a value
@@ -71200,13 +71207,10 @@
 
     </ul></dd>
 
-  </dl><p>An element is <dfn id=specially-focusable>specially focusable</dfn> if the <code title=attr-tabindex><a href=#attr-tabindex>tabindex</a></code> attribute's definition above
-  defines the element to be focusable.</p>
+  </dl><p>An element that has its <a href=#specially-focusable>tabindex focus flag</a> set but
+  does not otherwise have an <a href=#activation-behavior>activation behavior</a> defined
+  has an <a href=#activation-behavior>activation behavior</a> that does nothing.</p>
 
-  <p>An element that is <a href=#specially-focusable>specially focusable</a> but does not
-  otherwise have an <a href=#activation-behavior>activation behavior</a> defined has an
-  <a href=#activation-behavior>activation behavior</a> that does nothing.</p>
-
   <p class=note>This means that an element that is only focusable
   because of its <code title=attr-tabindex><a href=#attr-tabindex>tabindex</a></code> attribute
   will fire a <code title=event-click><a href=#event-click>click</a></code> event in response
@@ -71227,15 +71231,15 @@
   <h4 id=focus-management><span class=secno>8.3.2 </span>Focus management</h4>
 
   <p>An element is <dfn id=focusable>focusable</dfn> if the user agent's default
-  behavior allows it to be focusable or if the element is
-  <a href=#specially-focusable>specially focusable</a>, but only if the element is either
-  <a href=#being-rendered>being rendered</a> or <!-- CANVAS-FOCUS-FALLBACK --> is a
-  descendant of a <code><a href=#the-canvas-element>canvas</a></code> element that
+  behavior allows it to be focusable or if the element has its
+  <a href=#specially-focusable>tabindex focus flag</a> set, but only if the element is
+  either <a href=#being-rendered>being rendered</a> or <!-- CANVAS-FOCUS-FALLBACK -->
+  is a descendant of a <code><a href=#the-canvas-element>canvas</a></code> element that
   <a href=#represents>represents</a> <a href=#embedded-content>embedded content</a>.</p>
 
   <p>User agents should make the following elements
-  <a href=#focusable>focusable</a>, unless platform conventions dictate
-  otherwise:</p>
+  <a href=#focusable>focusable</a> as part of their default behavior, unless
+  platform conventions dictate otherwise:</p>
 
   <ul><li><code><a href=#the-a-element>a</a></code> elements that have an <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute</li>
 
@@ -71270,9 +71274,9 @@
   reused with multiple images on a page.)</p>
 
   <p>The user agent may also make part of a <code><a href=#the-details-element>details</a></code>
-  element's rendering focusable, to enable the element to be opened or
-  closed using keyboard input. However, this is distinct from the
-  <code><a href=#the-details-element>details</a></code> or <code><a href=#the-summary-element>summary</a></code> element being
+  element's rendering <a href=#focusable>focusable</a>, to enable the element to
+  be opened or closed using keyboard input. However, this is distinct
+  from the <code><a href=#the-details-element>details</a></code> or <code><a href=#the-summary-element>summary</a></code> element being
   focusable.</p>
 
   <hr><p>The <dfn id=focusing-steps>focusing steps</dfn> are as follows:</p>
@@ -71281,8 +71285,8 @@
    <code>Document</code></a>, or if the element's
    <code><a href=#document>Document</a></code> has no <a href=#browsing-context>browsing context</a>, or if
    the element's <code><a href=#document>Document</a></code>'s <a href=#browsing-context>browsing context</a>
-   has no <a href=#top-level-browsing-context>top-level browsing context</a>, then abort these
-   steps.</p>
+   has no <a href=#top-level-browsing-context>top-level browsing context</a>, or if the element
+   is not <a href=#focusable>focusable</a>, then abort these steps.</p>
 
    <li><p>If focusing the element will remove the focus from another
    element, then run the <a href=#unfocusing-steps>unfocusing steps</a> for that

Modified: index
===================================================================
--- index	2012-02-22 00:34:31 UTC (rev 7004)
+++ index	2012-02-22 05:26:16 UTC (rev 7005)
@@ -56642,7 +56642,7 @@
 
        <li><code><a href=#the-command-element>command</a></code> elements that do not have a <code title=attr-command-disabled><a href=#attr-command-disabled>disabled</a></code> attribute</li>
 
-       <li>elements that are <a href=#specially-focusable>specially focusable</a></li>
+       <li>elements that have their <a href=#specially-focusable>tabindex focus flag</a> set</li>
 
       </ul><p class=example>For example, if the user is using a keyboard
       to push a <code><a href=#the-button-element>button</a></code> element by pressing the space bar,
@@ -71101,9 +71101,10 @@
   <h4 id=sequential-focus-navigation-and-the-tabindex-attribute><span class=secno>8.3.1 </span>Sequential focus navigation and the <code title=attr-tabindex><a href=#attr-tabindex>tabindex</a></code> attribute</h4>
 
   <p>The <dfn id=attr-tabindex title=attr-tabindex><code>tabindex</code></dfn>
-  content attribute specifies whether the element is focusable,
-  whether it can be reached using sequential focus navigation, and the
-  relative order of the element for the purposes of sequential focus
+  content attribute allows authors to control whether an element is
+  supposed to be focusable, whether it is supposed to be reachable
+  using sequential focus navigation, and what is to be the relative
+  order of the element for the purposes of sequential focus
   navigation. The name "tab index" comes from the common use of the
   "tab" key to navigate through the focusable elements. The term
   "tabbing" refers to moving forward through the focusable elements
@@ -71115,6 +71116,11 @@
 
   <div class=impl>
 
+  <p>Each element has a <dfn id=specially-focusable>tabindex focus
+  flag</dfn>. This flag is a factor that contributes towards
+  determining whether an element is <a href=#focusable>focusable</a>, as
+  described in the next section.</p>
+
   <p>If the attribute is specified, it must be parsed using the
   <a href=#rules-for-parsing-integers>rules for parsing integers</a>. The attribute's values have
   the following meanings:</p>
@@ -71124,15 +71130,16 @@
 
    <dd>
 
-    <p>The user agent should follow platform conventions to determine if
-    the element is to be focusable and, if so, whether the element can
-    be reached using sequential focus navigation, and if so, what its
-    relative order should be.</p>
+    <p>The user agent should follow platform conventions to determine
+    if the element's <a href=#specially-focusable>tabindex focus flag</a> is set and, if
+    so, whether the element can be reached using sequential focus
+    navigation, and if so, what its relative order should be.</p>
 
     <p class=note>One valid reason to ignore the platform
-    conventions and always allow an element to be focused would be if
-    the user's only mechanism for activating an element is through a
-    keyboard action that triggers the focused element.</p>
+    conventions and always allow an element to be focused (by setting
+    its <a href=#specially-focusable>tabindex focus flag</a>) would be if the user's only
+    mechanism for activating an element is through a keyboard action
+    that triggers the focused element.</p>
 
    </dd>
 
@@ -71140,9 +71147,9 @@
 
    <dd>
 
-    <p>The user agent must allow the element to be focused, but should
-    not allow the element to be reached using sequential focus
-    navigation.</p>
+    <p>The user agent must set the element's <a href=#specially-focusable>tabindex focus
+    flag</a>, but should not allow the element to be reached using
+    sequential focus navigation.</p>
 
     <p class=note>One valid reason to ignore the requirement that
     sequential focus navigation not allow the author to lead to the
@@ -71158,10 +71165,10 @@
 
    <dd>
 
-    <p>The user agent must allow the element to be focused, should
-    allow the element to be reached using sequential focus navigation,
-    and should follow platform conventions to determine the element's
-    relative order.</p>
+    <p>The user agent must set the element's <a href=#specially-focusable>tabindex focus
+    flag</a>, should allow the element to be reached using
+    sequential focus navigation, and should follow platform
+    conventions to determine the element's relative order.</p>
 
    </dd>
 
@@ -71169,15 +71176,15 @@
 
    <dd>
 
-    <p>The user agent must allow the element to be focused, should
-    allow the element to be reached using sequential focus navigation,
-    and should place the element in the sequential focus navigation
-    order so that it is:</p>
+    <p>The user agent must set the element's <a href=#specially-focusable>tabindex focus
+    flag</a>, should allow the element to be reached using
+    sequential focus navigation, and should place the element in the
+    sequential focus navigation order so that it is:</p>
 
-    <ul><li>before any focusable element whose <code title=attr-tabindex><a href=#attr-tabindex>tabindex</a></code> attribute has been
-     omitted or whose value, when parsed, returns an error,</li>
+    <ul><li>before any <a href=#focusable>focusable</a> element whose <code title=attr-tabindex><a href=#attr-tabindex>tabindex</a></code> attribute has been omitted
+     or whose value, when parsed, returns an error,</li>
 
-     <li>before any focusable element whose <code title=attr-tabindex><a href=#attr-tabindex>tabindex</a></code> attribute has a value equal
+     <li>before any <a href=#focusable>focusable</a> element whose <code title=attr-tabindex><a href=#attr-tabindex>tabindex</a></code> attribute has a value equal
      to or less than zero,</li>
 
      <li>after any element whose <code title=attr-tabindex><a href=#attr-tabindex>tabindex</a></code> attribute has a value
@@ -71200,13 +71207,10 @@
 
     </ul></dd>
 
-  </dl><p>An element is <dfn id=specially-focusable>specially focusable</dfn> if the <code title=attr-tabindex><a href=#attr-tabindex>tabindex</a></code> attribute's definition above
-  defines the element to be focusable.</p>
+  </dl><p>An element that has its <a href=#specially-focusable>tabindex focus flag</a> set but
+  does not otherwise have an <a href=#activation-behavior>activation behavior</a> defined
+  has an <a href=#activation-behavior>activation behavior</a> that does nothing.</p>
 
-  <p>An element that is <a href=#specially-focusable>specially focusable</a> but does not
-  otherwise have an <a href=#activation-behavior>activation behavior</a> defined has an
-  <a href=#activation-behavior>activation behavior</a> that does nothing.</p>
-
   <p class=note>This means that an element that is only focusable
   because of its <code title=attr-tabindex><a href=#attr-tabindex>tabindex</a></code> attribute
   will fire a <code title=event-click><a href=#event-click>click</a></code> event in response
@@ -71227,15 +71231,15 @@
   <h4 id=focus-management><span class=secno>8.3.2 </span>Focus management</h4>
 
   <p>An element is <dfn id=focusable>focusable</dfn> if the user agent's default
-  behavior allows it to be focusable or if the element is
-  <a href=#specially-focusable>specially focusable</a>, but only if the element is either
-  <a href=#being-rendered>being rendered</a> or <!-- CANVAS-FOCUS-FALLBACK --> is a
-  descendant of a <code><a href=#the-canvas-element>canvas</a></code> element that
+  behavior allows it to be focusable or if the element has its
+  <a href=#specially-focusable>tabindex focus flag</a> set, but only if the element is
+  either <a href=#being-rendered>being rendered</a> or <!-- CANVAS-FOCUS-FALLBACK -->
+  is a descendant of a <code><a href=#the-canvas-element>canvas</a></code> element that
   <a href=#represents>represents</a> <a href=#embedded-content>embedded content</a>.</p>
 
   <p>User agents should make the following elements
-  <a href=#focusable>focusable</a>, unless platform conventions dictate
-  otherwise:</p>
+  <a href=#focusable>focusable</a> as part of their default behavior, unless
+  platform conventions dictate otherwise:</p>
 
   <ul><li><code><a href=#the-a-element>a</a></code> elements that have an <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute</li>
 
@@ -71270,9 +71274,9 @@
   reused with multiple images on a page.)</p>
 
   <p>The user agent may also make part of a <code><a href=#the-details-element>details</a></code>
-  element's rendering focusable, to enable the element to be opened or
-  closed using keyboard input. However, this is distinct from the
-  <code><a href=#the-details-element>details</a></code> or <code><a href=#the-summary-element>summary</a></code> element being
+  element's rendering <a href=#focusable>focusable</a>, to enable the element to
+  be opened or closed using keyboard input. However, this is distinct
+  from the <code><a href=#the-details-element>details</a></code> or <code><a href=#the-summary-element>summary</a></code> element being
   focusable.</p>
 
   <hr><p>The <dfn id=focusing-steps>focusing steps</dfn> are as follows:</p>
@@ -71281,8 +71285,8 @@
    <code>Document</code></a>, or if the element's
    <code><a href=#document>Document</a></code> has no <a href=#browsing-context>browsing context</a>, or if
    the element's <code><a href=#document>Document</a></code>'s <a href=#browsing-context>browsing context</a>
-   has no <a href=#top-level-browsing-context>top-level browsing context</a>, then abort these
-   steps.</p>
+   has no <a href=#top-level-browsing-context>top-level browsing context</a>, or if the element
+   is not <a href=#focusable>focusable</a>, then abort these steps.</p>
 
    <li><p>If focusing the element will remove the focus from another
    element, then run the <a href=#unfocusing-steps>unfocusing steps</a> for that

Modified: source
===================================================================
--- source	2012-02-22 00:34:31 UTC (rev 7004)
+++ source	2012-02-22 05:26:16 UTC (rev 7005)
@@ -66021,7 +66021,7 @@
        <li><code>command</code> elements that do not have a <code
        title="attr-command-disabled">disabled</code> attribute</li>
 
-       <li>elements that are <span>specially focusable</span></li>
+       <li>elements that have their <span>tabindex focus flag</span> set</li>
 
       </ul>
 
@@ -83107,9 +83107,10 @@
   <h4>Sequential focus navigation and the <code title="attr-tabindex">tabindex</code> attribute</h4>
 
   <p>The <dfn title="attr-tabindex"><code>tabindex</code></dfn>
-  content attribute specifies whether the element is focusable,
-  whether it can be reached using sequential focus navigation, and the
-  relative order of the element for the purposes of sequential focus
+  content attribute allows authors to control whether an element is
+  supposed to be focusable, whether it is supposed to be reachable
+  using sequential focus navigation, and what is to be the relative
+  order of the element for the purposes of sequential focus
   navigation. The name "tab index" comes from the common use of the
   "tab" key to navigate through the focusable elements. The term
   "tabbing" refers to moving forward through the focusable elements
@@ -83121,6 +83122,11 @@
 
   <div class="impl">
 
+  <p>Each element has a <dfn id="specially-focusable">tabindex focus
+  flag</dfn>. This flag is a factor that contributes towards
+  determining whether an element is <span>focusable</span>, as
+  described in the next section.</p>
+
   <p>If the attribute is specified, it must be parsed using the
   <span>rules for parsing integers</span>. The attribute's values have
   the following meanings:</p>
@@ -83132,15 +83138,16 @@
 
    <dd>
 
-    <p>The user agent should follow platform conventions to determine if
-    the element is to be focusable and, if so, whether the element can
-    be reached using sequential focus navigation, and if so, what its
-    relative order should be.</p>
+    <p>The user agent should follow platform conventions to determine
+    if the element's <span>tabindex focus flag</span> is set and, if
+    so, whether the element can be reached using sequential focus
+    navigation, and if so, what its relative order should be.</p>
 
     <p class="note">One valid reason to ignore the platform
-    conventions and always allow an element to be focused would be if
-    the user's only mechanism for activating an element is through a
-    keyboard action that triggers the focused element.</p>
+    conventions and always allow an element to be focused (by setting
+    its <span>tabindex focus flag</span>) would be if the user's only
+    mechanism for activating an element is through a keyboard action
+    that triggers the focused element.</p>
 
    </dd>
 
@@ -83148,9 +83155,9 @@
 
    <dd>
 
-    <p>The user agent must allow the element to be focused, but should
-    not allow the element to be reached using sequential focus
-    navigation.</p>
+    <p>The user agent must set the element's <span>tabindex focus
+    flag</span>, but should not allow the element to be reached using
+    sequential focus navigation.</p>
 
     <p class="note">One valid reason to ignore the requirement that
     sequential focus navigation not allow the author to lead to the
@@ -83167,10 +83174,10 @@
 
    <dd>
 
-    <p>The user agent must allow the element to be focused, should
-    allow the element to be reached using sequential focus navigation,
-    and should follow platform conventions to determine the element's
-    relative order.</p>
+    <p>The user agent must set the element's <span>tabindex focus
+    flag</span>, should allow the element to be reached using
+    sequential focus navigation, and should follow platform
+    conventions to determine the element's relative order.</p>
 
    </dd>
 
@@ -83178,18 +83185,18 @@
 
    <dd>
 
-    <p>The user agent must allow the element to be focused, should
-    allow the element to be reached using sequential focus navigation,
-    and should place the element in the sequential focus navigation
-    order so that it is:</p>
+    <p>The user agent must set the element's <span>tabindex focus
+    flag</span>, should allow the element to be reached using
+    sequential focus navigation, and should place the element in the
+    sequential focus navigation order so that it is:</p>
 
     <ul>
 
-     <li>before any focusable element whose <code
-     title="attr-tabindex">tabindex</code> attribute has been
-     omitted or whose value, when parsed, returns an error,</li>
+     <li>before any <span>focusable</span> element whose <code
+     title="attr-tabindex">tabindex</code> attribute has been omitted
+     or whose value, when parsed, returns an error,</li>
 
-     <li>before any focusable element whose <code
+     <li>before any <span>focusable</span> element whose <code
      title="attr-tabindex">tabindex</code> attribute has a value equal
      to or less than zero,</li>
 
@@ -83223,14 +83230,10 @@
 
   </dl>
 
-  <p>An element is <dfn>specially focusable</dfn> if the <code
-  title="attr-tabindex">tabindex</code> attribute's definition above
-  defines the element to be focusable.</p>
+  <p>An element that has its <span>tabindex focus flag</span> set but
+  does not otherwise have an <span>activation behavior</span> defined
+  has an <span>activation behavior</span> that does nothing.</p>
 
-  <p>An element that is <span>specially focusable</span> but does not
-  otherwise have an <span>activation behavior</span> defined has an
-  <span>activation behavior</span> that does nothing.</p>
-
   <p class="note">This means that an element that is only focusable
   because of its <code title="attr-tabindex">tabindex</code> attribute
   will fire a <code title="event-click">click</code> event in response
@@ -83252,15 +83255,15 @@
   <h4 id="focus-management">Focus management</h4>
 
   <p>An element is <dfn>focusable</dfn> if the user agent's default
-  behavior allows it to be focusable or if the element is
-  <span>specially focusable</span>, but only if the element is either
-  <span>being rendered</span> or <!-- CANVAS-FOCUS-FALLBACK --> is a
-  descendant of a <code>canvas</code> element that
+  behavior allows it to be focusable or if the element has its
+  <span>tabindex focus flag</span> set, but only if the element is
+  either <span>being rendered</span> or <!-- CANVAS-FOCUS-FALLBACK -->
+  is a descendant of a <code>canvas</code> element that
   <span>represents</span> <span>embedded content</span>.</p>
 
   <p>User agents should make the following elements
-  <span>focusable</span>, unless platform conventions dictate
-  otherwise:</p>
+  <span>focusable</span> as part of their default behavior, unless
+  platform conventions dictate otherwise:</p>
 
   <ul>
 
@@ -83306,9 +83309,9 @@
   reused with multiple images on a page.)</p>
 
   <p>The user agent may also make part of a <code>details</code>
-  element's rendering focusable, to enable the element to be opened or
-  closed using keyboard input. However, this is distinct from the
-  <code>details</code> or <code>summary</code> element being
+  element's rendering <span>focusable</span>, to enable the element to
+  be opened or closed using keyboard input. However, this is distinct
+  from the <code>details</code> or <code>summary</code> element being
   focusable.</p>
 
   <hr>
@@ -83321,8 +83324,8 @@
    <code>Document</code></span>, or if the element's
    <code>Document</code> has no <span>browsing context</span>, or if
    the element's <code>Document</code>'s <span>browsing context</span>
-   has no <span>top-level browsing context</span>, then abort these
-   steps.</p>
+   has no <span>top-level browsing context</span>, or if the element
+   is not <span>focusable</span>, then abort these steps.</p>
 
    <li><p>If focusing the element will remove the focus from another
    element, then run the <span>unfocusing steps</span> for that




More information about the Commit-Watchers mailing list