Skip to content

Commit 2fde733

Browse files
authored
[css-nav-1] Fix spurious / in <img> (#10630)
1 parent 580f755 commit 2fde733

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

css-nav-1/Overview.bs

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ If the user presses the <code class=key>Tab</code> key to move focus around the
134134
they need to press the key many times to reach the desired image element.
135135

136136
<figure>
137-
<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;"/>
137+
<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;">
138138
<figcaption>Photo gallery application example using a grid layout</figcaption>
139139
</figure>
140140

@@ -275,8 +275,8 @@ and [[#declarative]] for details about the CSS properties.
275275
this example assumes a user agent where spatial navigation is triggered using arrow keys.
276276

277277
<figure>
278-
<img alt="" src="images/spatnav-scroll-visible-1.png" style="width: 200px;"/>
279-
<img alt="" src="images/spatnav-scroll-visible-2.png" style="width: 200px;"/>
278+
<img alt="" src="images/spatnav-scroll-visible-1.png" style="width: 200px;">
279+
<img alt="" src="images/spatnav-scroll-visible-2.png" style="width: 200px;">
280280
<figcaption>Moving focus to the visible element in the <a>spatial navigation container</a>.</figcaption>
281281
</figure>
282282

@@ -285,10 +285,10 @@ and [[#declarative]] for details about the CSS properties.
285285
"Box 3" without scrolling because "Box 3" is visible in the <a>scrollport</a> of the <a>spatial navigation container</a>.
286286

287287
<figure>
288-
<img alt="" src="images/spatnav-scroll-invisible-1.png" style="width: 160px;"/>
289-
<img alt="" src="images/spatnav-scroll-invisible-2.png" style="width: 160px;"/>
290-
<img alt="" src="images/spatnav-scroll-invisible-3.png" style="width: 160px;"/>
291-
<img alt="" src="images/spatnav-scroll-invisible-4.png" style="width: 160px;"/>
288+
<img alt="" src="images/spatnav-scroll-invisible-1.png" style="width: 160px;">
289+
<img alt="" src="images/spatnav-scroll-invisible-2.png" style="width: 160px;">
290+
<img alt="" src="images/spatnav-scroll-invisible-3.png" style="width: 160px;">
291+
<img alt="" src="images/spatnav-scroll-invisible-4.png" style="width: 160px;">
292292
<figcaption>Moving focus to the hidden element in the <a>spatial navigation container</a>.</figcaption>
293293
</figure>
294294

@@ -551,7 +551,7 @@ the user agent must run the steps described below:
551551
</code></pre>
552552
The figure below is the result of this code.
553553
<figure>
554-
<img alt="An image about focusableAreas()" src="images/focusableareas-visible-example.png" style="width: 450px;"/>
554+
<img alt="An image about focusableAreas()" src="images/focusableareas-visible-example.png" style="width: 450px;">
555555
<figcaption>Find all visible focusable areas inside the document.</figcaption>
556556
</figure>
557557
</div>
@@ -782,7 +782,7 @@ the <a spec=html for="/">origin</a> of the [=active document=] of the [=top-leve
782782
this example assumes a user agent where spatial navigation is triggered using arrow keys.
783783

784784
<figure>
785-
<img alt="An image about navnotarget" src="images/navnotarget-example-1.png" style="width: 200px;"/>
785+
<img alt="An image about navnotarget" src="images/navnotarget-example-1.png" style="width: 200px;">
786786
<figcaption>Moving focus when there isn't any candidate in the
787787
<a>scroll container</a>.</figcaption>
788788
</figure>
@@ -838,7 +838,7 @@ the <a spec=html for="/">origin</a> of the [=active document=] of the [=top-leve
838838
The result of this example is the figure as follows:
839839

840840
<figure>
841-
<img alt="An image of the result about navnotarget" src="images/navnotarget-example-2.png" style="width: 200px;"/>
841+
<img alt="An image of the result about navnotarget" src="images/navnotarget-example-2.png" style="width: 200px;">
842842
<figcaption>The result of moving focus when there isn't any candidate in the <a>scrollport</a>
843843
and <a>scroll container</a> cannot be scrolled.</figcaption>
844844
</figure>
@@ -1308,7 +1308,7 @@ The meaning of each term is as follows:
13081308
of the <var>reference</var> and the <var>candidate</var>
13091309

13101310
<figure>
1311-
<img alt="" src="images/projected_overlap.png" style="width: 500px;"/>
1311+
<img alt="" src="images/projected_overlap.png" style="width: 500px;">
13121312
<figcaption>projectedOverlap</figcaption>
13131313
</figure>
13141314

@@ -1525,7 +1525,7 @@ Inside the container, there is an element which is out of the view within a <a>s
15251525
Pressing the down arrow key moves the focus directly to it without scrolling manually.
15261526

15271527
<figure>
1528-
<img alt="" src="images/spatnav-action.png" style="width: 500px;"/>
1528+
<img alt="" src="images/spatnav-action.png" style="width: 500px;">
15291529
<figcaption>Moving focus from "Box 2" to "Box 3" without manually scrolling</figcaption>
15301530
</figure>
15311531

@@ -1603,7 +1603,7 @@ NOTE: These values are negotiated with the users' preferences which seems natura
16031603
This example shows how the focus moves differently by the value of <code highlight=css>spatial-navigation-function</code>.
16041604

16051605
<figure>
1606-
<img alt="" src="images/spatnav-function.png" style="width: 500px;"/>
1606+
<img alt="" src="images/spatnav-function.png" style="width: 500px;">
16071607
<figcaption>Moving focus from "A" to one of the candidate elements</figcaption>
16081608
</figure>
16091609

0 commit comments

Comments
 (0)