You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -497,7 +497,7 @@ Note: the {{focusableAreas()}} and {{getSpatialNavigationContainer()}} methods a
497
497
<div class=example id=focusAreas-visible>
498
498
The following code shows how to get all the visible focusable elements in the current page using {{Element/focusableAreas()}}.
499
499
If the method finds a <a>spatial navigation container</a>, it recursively finds focusable areas inside it.
500
-
However, <code>'visible'</code> is given to the {{FocusableAreasOptions/mode}} attribute of this method,
500
+
However, <code>visible</code> is given to the {{FocusableAreasOptions/mode}} attribute of this method,
501
501
the focusable element which isn’t inside the <a>scrollport</a> is excluded from the result.
502
502
503
503
<pre><code highlight=markup>
@@ -1054,7 +1054,7 @@ run the following steps:
1054
1054
2. The User Agent should <a spec=infra for=set>remove</a> from <var>focusables</var> items that have a [=DOM anchor=] whose <a element-attr spec=html><code>tabindex</code></a> attribute is set to a negative value.
1055
1055
1056
1056
Note: This is a "SHOULD" in order to mirror the exclusion of elements with negative tabindex
1057
-
from the <a>sequential focus navigation order</a> as defined in [[HTML#the-tabindex-attribute]].
1057
+
from the <a>sequential focus navigation order</a> as defined in [[HTML#attr-tabindex]].
1058
1058
3. If <var>visibleOnly</var> is <code>false</code>,
1059
1059
return <var>focusables</var>.
1060
1060
@@ -1078,7 +1078,7 @@ run the following steps:
1078
1078
authors should use make these elements unreachable to spatial navigation
1079
1079
using the same best practices as for making elements unreachable to sequential navigation,
1080
1080
such as using <code>tab-index="-1"</code>
1081
-
or the <a href="https://github.com/WICG/inert"><code>inert</code></a> attribute.
1081
+
or the <a href="https://html.spec.whatwg.org/multipage/interaction.html#inert"><code>inert</code></a> attribute.
0 commit comments