diff --git a/test/spatial-navigation/frame.html b/test/spatial-navigation/frame.html new file mode 100755 index 0000000..725a29c --- /dev/null +++ b/test/spatial-navigation/frame.html @@ -0,0 +1,10 @@ + + +
+This should not get focus:
+This should get focus:
+ + diff --git a/test/spatial-navigation/index.html b/test/spatial-navigation/index.html index 1d394ab..94af8be 100755 --- a/test/spatial-navigation/index.html +++ b/test/spatial-navigation/index.html @@ -9,9 +9,25 @@Expected result: Both links, form fields and other interactive elements are traversable by spatnav.
Elements that can consume shift+arrows themselves (e.g. a multiline textarea) should only be prefocused, not focused,
so you can navigate past them without interruption and without changing any values.
| Links in Table | +Links in Table | +Links in Table | +
| Links in Table | +Links in Table | +Links in Table | +
Input type=text
Input type=tel
Input type=url
@@ -49,7 +65,7 @@An iframe including focusable elements:
-
A scrollable div.
This div contains links.
@@ -61,11 +77,13 @@Also links below the fold that should be scrolled into view with Spatnav.
-
+Span with onclick listener. Try to click me by keyboard!
Span with tabindex=0.
-