Skip to content

Commit cd44f73

Browse files
author
Jihye Hong
committed
[css-nav-1] Add the change section
1 parent b7055b2 commit cd44f73

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

css-nav-1/Overview.bs

+19-3
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ the <a spec=html for="/">origin</a> of the [=active document=] of the [=top-leve
870870
const candidates = e.relatedTarget.focusableAreas({'mode': 'all'});
871871

872872
// Prevent default only when navigation direction is on y-axis
873-
if (dirArray.includes(e.dir) && (candidates.length > 0)) {
873+
if (verticalDir.includes(e.dir) && (candidates.length > 0)) {
874874
e.preventDefault();
875875

876876
if (e.dir === 'down') {
@@ -964,7 +964,7 @@ they must not be set differently.
964964
<h3 id=grouping>
965965
Groupings of elements</h3>
966966

967-
While the general model for spatial navigation
967+
While the processing model for spatial navigation
968968
is to work from the layout of the document
969969
and the relative position of focusable elements,
970970
the User Agent is required to prioritize finding elements
@@ -987,13 +987,17 @@ Additional <a>spatial navigation containers</a> can be created using the 'spatia
987987
<h3 id=nav>
988988
Navigation</h3>
989989

990+
The processing model for spatial navigation describes how spatial navigation works in general.
991+
990992
<figure class="verbose non-normative">
993+
<object type="image/svg+xml" data="images/spatnav_processing_model_diagram.svg"></object>
991994
<figcaption>
995+
Overview of the Spatial navigation processing model
996+
<br>
992997
This figure is not normative.
993998
It gives an overview of the processing model further defined in this section,
994999
assuming that the 'spatial-navigation-action' property has its initial value of ''spatial-navigation-action/auto''.
9951000
</figcaption>
996-
<object type="image/svg+xml" data="images/spatnav_processing_model_diagram.svg"></object>
9971001
</figure>
9981002

9991003
<div algorithm="to run the spatial navigation steps">
@@ -1721,3 +1725,15 @@ The editors of this specification would like to thank the following individuals
17211725
* Junho Seo
17221726
* Rob Dodson
17231727
* Seungcheon Baek
1728+
1729+
<h2 class="no-num" id="changes">Changes</h2>
1730+
1731+
<em>This section is non-normative.</em>
1732+
1733+
The following changes were made since the <a href="https://www.w3.org/TR/2019/WD-css-nav-1-20190423/">23 April 2019 First Public Working Draft</a>.
1734+
1735+
* Changed the result of {{getSpatialNavigationContainer()}} to return the nearest <a>spatial navigation container</a> ancestor
1736+
* Added 'spatial-navigation-function'
1737+
* Added <a>updating the search origin</a> step
1738+
* Changed the IDL of {{spatialNavigationSearch()}} as separating the dir attribute from {{SpatialNavigationSearchOptions}}
1739+
* Made the focusable element fully overlapped with search origin which is not the <a>spatial navigation container</a> as a candidate for fixing the unreachability

0 commit comments

Comments
 (0)