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
Copy file name to clipboardExpand all lines: css-nav-1/Overview.bs
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -117,19 +117,19 @@ This ability to move around the page directionally is called <dfn lt="spatial na
117
117
<a>Spatial navigation</a> can be useful for a web page built using a grid-like layout,
118
118
or other predominantly non linear layouts.
119
119
The figure below represents a photo gallery arranged in a grid layout.
120
-
If the user presses the <code class=key>Tab</code> key to move focus,
121
-
they need to press the key many times to reach the desired element.
122
-
Also, the grid layout may arrange the layout of elements independently of their source order.
123
-
Therefore sequential navigation using the <code class=key>Tab</code> key makes focus navigation unpredictable.
124
-
In contrast, <a>spatial navigation</a> moves the focus among focusable elements
125
-
depending on their position
126
-
allowing it to address problems encountered with sequential navigation.
120
+
If the user presses the <code class=key>Tab</code> key to move focus around the images,
121
+
they need to press the key many times to reach the desired image element.
127
122
128
123
<figure>
129
-
<img alt="When elements are laid out in a grid pattern, spatial navigation makes it much easier to predict and control where focus should move to." src="images/spatnav-enable.png" style="width: 500px;"/>
130
-
<figcaption>Application using a grid-like layout.</figcaption>
124
+
<img alt="When elements are laid out in a grid pattern, spatial navigation makes it much easier to predict and control where focus should move to." src="images/gallery-app.png" style="width: 500px;"/>
125
+
<figcaption>Photo gallery application example using a grid layout</figcaption>
131
126
</figure>
132
127
128
+
Also, <a>spatial navigation</a> moves the focus to the predictable element for users
129
+
because it moves the focus among focusable elements depending on their position.
130
+
Sometimes elements on the page aren’t arranged independently of their source order.
131
+
Therefore unlike <a>spatial navigation</a>, sequential navigation using the <code class=key>Tab</code> key makes focus navigation unpredictable.
132
+
133
133
While arrow keys are naturally suited to control spatial navigation,
134
134
no previous specification describes how that should work,
0 commit comments