Skip to content

Commit 14ac5bf

Browse files
author
Jihye Hong
committed
[css-nav-1] Fix the spelling mistakes
1 parent b902706 commit 14ac5bf

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

css-nav-1/Overview.bs

+7-8
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ the specification remains the full document.
8888

8989
<input type=checkbox id=api-check> <label for=api-check>Hide JavaScript APIs, including events</label><br>
9090
<input type=checkbox id=cssapi-check> <label for=cssapi-check>Hide CSS properties that enable selecting behavior variants, and related information</label><br>
91-
<input type=checkbox id=verbose-check> <label for=verbose-check>Hide informative sections that explain and summarise normative sections without adding more information</label><br>
91+
<input type=checkbox id=verbose-check> <label for=verbose-check>Hide informative sections that explain and summarize normative sections without adding more information</label><br>
9292

9393
<h2 id="intro" class=non-normative>
9494
Introduction</h2>
@@ -209,7 +209,7 @@ until it has either moved focus,
209209
scrolled,
210210
or reached the root.
211211

212-
Note: As a consequnce of this processing model,
212+
Note: As a consequence of this processing model,
213213
the elements that are reachable by sequential navigation
214214
and by spatial navigation are almost the same:
215215
elements that are currently outside of the viewport of a scrollable element
@@ -394,7 +394,7 @@ JavaScript API</h2>
394394
<h3 id=high-level-api>
395395
Triggering Navigation Programmatically</h3>
396396

397-
The {{Window/navigate()}} method enables the author to trigger spatial navigation programatically,
397+
The {{Window/navigate()}} method enables the author to trigger spatial navigation programmatically,
398398
as if the user had done so manually
399399
(for instance, by pressing the arrow keys in a browser where that is the way to trigger spatial navigation).
400400

@@ -537,7 +537,7 @@ and the result will be <code>null</code>.</strong>
537537
The following code changes the behavior of spatial navigation
538538
so that when a scroll container would get focused,
539539
if it has at least one visible focusable descendant,
540-
the focus is automatically transfered to it.
540+
the focus is automatically transferred to it.
541541

542542
<pre><code highlight=javascript>
543543
document.addEventListener("navbeforefocus", function(e) {
@@ -566,14 +566,14 @@ and the result will be <code>null</code>.</strong>
566566
<div class=example id=loop>
567567
The following code changes the behavior of spatial navigation
568568
to trap the focus within a spatial navigation container:
569-
when no further focusable elements can be found in the requested direcition
569+
when no further focusable elements can be found in the requested direction
570570
and the spatial navigation container cannot be scrolled any futher,
571571
we loop back to the other side instead of searching outside of it,
572572
either by focusing or scrolling depending on what is available.
573573

574574
The focus can still be moved outside by sequential navigation,
575575
mouse interaction,
576-
programatic calls to {{focus()}}
576+
programmatic calls to {{focus()}}
577577

578578
<pre><code highlight=javascript>
579579
document.addEventListener("navnotarget", function(e) {
@@ -983,15 +983,14 @@ The <a>navigation-override</a> [=policy-controlled feature=]</h2>
983983
We recognize that there exists other mechanisms predating spatial navigation
984984
that malicious authors could use
985985
to interfere with the user's ability to control where the focus goes.
986-
Despite that, it seems worthwile to attempt not to increase this attack surface,
986+
Despite that, it seems worthwhile to attempt not to increase this attack surface,
987987
although it is possible that such attacks are already sufficiently easy to perform
988988
that this is a lost cause.
989989
Further feedback on this topic,
990990
based on experience with implementation or with mitigating such attacks,
991991
is very welcome.
992992

993993

994-
995994
<h2 id=processing-model>
996995
Processing Model</h2>
997996

0 commit comments

Comments
 (0)