File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1273,7 +1273,7 @@ the proper spatial navigation behavior.
1273
1273
Else, the focus moves to the candidates in the viewport.
1274
1274
1275
1275
<dt> <dfn>focus</dfn>
1276
- <dd> The directional input moves the focus to the candidates(visible or not) . The user cannot manually scroll the container.
1276
+ <dd> The directional input moves the focus to all candidates inside a scroll container . The user cannot manually scroll the container.
1277
1277
1278
1278
NOTE: If the 'focus' value is given to 'spatial-navigation-action' , 'navnotarget' event occurs
1279
1279
when there isn’t any visible candidate in the spatial navigation container no matter what it can be scrolled more or not.
@@ -1286,8 +1286,9 @@ the proper spatial navigation behavior.
1286
1286
</dl>
1287
1287
1288
1288
<div class=example>
1289
- In this example, there is an element which is out of the view within a scrollable element.
1290
- Pressing the down arrow key moves the focus directly to it without scrolling mannually.
1289
+ In this example, a scrollable container is specified with `spatial-navigation-action: focus`.
1290
+ Inside the container, there is an element which is out of the view within a <a>scrollport</a> .
1291
+ Pressing the down arrow key moves the focus directly to it without scrolling manually.
1291
1292
1292
1293
<figure>
1293
1294
<img alt="" src="images/spatnav-action.png" style="width: 500px;"/>
You can’t perform that action at this time.
0 commit comments