File tree 1 file changed +9
-3
lines changed
1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -391,7 +391,6 @@ the following requirements apply:
391
391
as responses to pressing arrow keys would also be possibilities.
392
392
</div>
393
393
394
-
395
394
<div class=api>
396
395
<h2 id="js-api">
397
396
JavaScript API</h2>
@@ -1227,8 +1226,15 @@ run the following steps:
1227
1226
* bottom edge is above the top edge of <var> searchOrigin</var> 's <a>boundary box</a> if <var> dir</var> is {{SpatialNavigationDirection/up}}
1228
1227
* right edge is left of the left edge of <var> searchOrigin</var> 's <a>boundary box</a> if <var> dir</var> is {{SpatialNavigationDirection/left}}
1229
1228
* left edge is right of the right edge of <var> searchOrigin</var> 's <a>boundary box</a> if <var> dir</var> is {{SpatialNavigationDirection/right}}
1230
- * the item partially overlaps with <var> searchOrigin</var> and
1231
- its two edges which are orthogonal to <var> dir</var> should be on the navigation direction of the respective ones of <var> searchOrigin</var> .
1229
+ * the item partially overlaps with <var> searchOrigin</var> and its <a>boundary box</a> 's
1230
+ * top edge is below the top edge of <var> searchOrigin</var> 's <a>boundary box</a> if <var> dir</var> is {{SpatialNavigationDirection/down}}
1231
+ * bottom edge is above the bottom edge of <var> searchOrigin</var> 's <a>boundary box</a> if <var> dir</var> is {{SpatialNavigationDirection/up}}
1232
+ * right edge is left of the right edge of <var> searchOrigin</var> 's <a>boundary box</a> if <var> dir</var> is {{SpatialNavigationDirection/left}}
1233
+ * left edge is right of the left edge of <var> searchOrigin</var> 's <a>boundary box</a> if <var> dir</var> is {{SpatialNavigationDirection/right}}
1234
+
1235
+ NOTE: More detail condition about how the element is overlapped with the search origin affects the sequence of focus movement.
1236
+ The sequence of focus movement is related to UX, so it depends on the UA-defined mechanism.
1237
+
1232
1238
2. For each <var ignore=""> candidate</var> in <var> candidates</var> ,
1233
1239
[=find the shortest distance=] between <var> searchOrigin</var> .
1234
1240
3. Return the item of the <var> candidates</var> set that has the smallest distance.
You can’t perform that action at this time.
0 commit comments