You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-8Lines changed: 4 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,9 +13,7 @@ Regarding TV remote control, game console pad, IVI jog dial with 4-way keys, and
13
13
## Mission
14
14
Prior to the mission explanation, we need to understand how the arrow keys works currently in the Web. If you're watching this page in a normal HD monitor and desktop, not mobile, please push a down key in your keyboard. What happens? Basically, scrolling downward would be triggered. That's the default behavior of arrow keys in the Web, only when the browsing context is overflowed in the direction.
15
15
16
-
In spatial navigation mode, the default behavior of arrow keys is changed from scrolling behavior to focus moving so that users can use the arrow keys to navigate between focusable elements based on their position.
17
-
18
-
To support the functionalities of the spatial navigation, we should consider the following three steps:
16
+
In spatial navigation mode, the default behavior of arrow keys is changed from scrolling behavior to focus moving so that users can use the arrow keys to navigate between focusable elements based on their position. To support the functionalities of the spatial navigation, we should consider the following three steps:
19
17
1. Options for enabling the spatial navigation mode
20
18
2. A heuristic algorithm for the spatial navigation in Web engines
21
19
3. Overriding methods on top of the heuristic algorithm
@@ -31,19 +29,17 @@ See the [implStatus](implStatus.md) for the details of the implementation in Web
31
29
- In several references below, you can get the help to understand the Snav operations well.
32
30
33
31
**Q. Isn’t it enough just using the relevant Web frameworks?**
34
-
- Severel Web frameworks and extensions for the Snav have been provided so far due to no support from web engines. For examples, [js-spatial-navigation](https://github.com/luke-chang/js-spatial-navigation) made by Mozilla seems one of the frameworks and the quality would be good to support the features of Snav. [Spotlight library](https://github.com/enyojs/spotlight) made by LGE is also an instance of the frameworks for the Snav, even though it was deprecated now.
35
-
36
-
However, the support of Snav from Web frameworks has some limits as follows:
32
+
- Severel Web frameworks and extensions for the Snav have been provided so far due to no support from web engines. For examples, [js-spatial-navigation](https://github.com/luke-chang/js-spatial-navigation) made by Mozilla seems one of the frameworks and the quality would be good to support the features of Snav. [Spotlight library](https://github.com/enyojs/spotlight) made by LGE is also an instance of the frameworks for the Snav, even though it was deprecated now. However, the support of Snav from Web frameworks has some limits as follows:
37
33
- difficult to align native scroll behavior when moving the focus to an element out of view
38
34
- difficult to align native focus method for a11y support
39
35
- performance degradation due to the expensive cost of DOM Access
40
36
- inconsistency of user experience (various sort of frameworks)
41
37
- impossible to control isolated frames like iframe and shadow DOM
42
38
43
39
**Q. The Snav seems not the general feature esp. in mobile with no physical key-based interface.**
44
-
Honestly, the mobile has been a first citizen of Snav about 10 years old. Before touch-based interface, the majority of interface for mobile was key-based input methods. We're familiar with kind of mobile phone named a feature phone and it has been supported in several developing contries such as South America, Africa even until now.
40
+
-Honestly, the mobile has been a first citizen of Snav about 10 years old. Before touch-based interface, the majority of interface for mobile was key-based input methods. We're familiar with kind of mobile phone named a feature phone and it has been supported in several developing contries such as South America, Africa even until now.
45
41
46
-
In the future, the input method for smart devices will be changed to something like voice command, hand gesture, and eyes direction, but the key-based interfaces will never disappear, even though it'll be used as a secondary method. The key-based interface used to be evaluated as one of the most intuitive methods with a strong sense feedback of finger after pushing a key, while we couldn't imagine a touch-based keyboard without any physical keys.
42
+
-In the future, the input method for smart devices will be changed to something like voice command, hand gesture, and eyes direction, but the key-based interfaces will never disappear, even though it'll be used as a secondary method. The key-based interface used to be evaluated as one of the most intuitive methods with a strong sense feedback of finger after pushing a key, while we couldn't imagine a touch-based keyboard without any physical keys.
47
43
48
44
**Q. Put any question on [issues](https://github.com/lgeweb/spatial-navigation/issues) of this repository :D**
0 commit comments