Skip to content

Commit 69e92b4

Browse files
authored
Update explainer.md
1 parent c3bf647 commit 69e92b4

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

explainer.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
# Proposed APIs for the spatial navigation
22
To support the spatial navigation in the Web, we need to develop several standard APIs. The API seems to be discussed with the suitable working groups in W3C (mainly in CSS WG). In this explainer page, the latest status of the spatial navigation would be summarized so that the overall progress could be tracked at a glance.
33

4-
## 1. Options for enabling the spatial navigation mode
5-
6-
## 2. Heuristic algorithm for the spatial navigation supported by Web engines
7-
8-
## 3. Overriding methods on top of the heuristic algorithm
9-
4+
## Options for enabling the spatial navigation mode
5+
It makes author set the spatial navigation mode. The following API could be considered for the options.
6+
- HTML: <meta name="device" content="type=tv, input=remote-controller">
7+
- CSS: arrow-key-behavior: auto | navigation | scroll" or "spatial-mode: always | none
8+
- JS: setSpatialNavigation(true)
9+
10+
## Overriding methods on top of the heuristic algorithm
11+
- nav-rule property (CSSUI4)
12+
- nav-up/right/down/left properties (CSSUI4)
13+
- nav-loop property (CSSUI4)
14+
- etc. (unreachability, saving last focus, group concept, aligning with scrolling, pointer/key mode selection)

0 commit comments

Comments
 (0)