Skip to content

Commit 1c99565

Browse files
author
Jihye Hong
committed
[css-nav-1] Modify the introduction section
* Change the image
1 parent 6263229 commit 1c99565

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

css-nav-1/Overview.bs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -117,19 +117,19 @@ This ability to move around the page directionally is called <dfn lt="spatial na
117117
<a>Spatial navigation</a> can be useful for a web page built using a grid-like layout,
118118
or other predominantly non linear layouts.
119119
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.
127122

128123
<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>
131126
</figure>
132127

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+
133133
While arrow keys are naturally suited to control spatial navigation,
134134
no previous specification describes how that should work,
135135
or how it may be controlled.

css-nav-1/images/gallery-app.png

67 KB
Loading

0 commit comments

Comments
 (0)