nav-dir-003

Directional Focus Navigation - input elements

WeasyPrint

This browser

Flags
interact
Assertion
Test checks that directional focus navigation properties work on input elements.

Source

 1 <!DOCTYPE html>
 2 <html><head><title>CSS Basic User Interface Test: Directional Focus Navigation - input elements</title>
 3 <link href="mailto:jorritv@opera.com" rel="author" title="Jorrit Vermeiren">
 4 <link href="mailto:lstorset@opera.com" rel="reviewer" title="Leif Arne Storset">
 5 <link href="mailto:rhauck@adobe.com" rel="reviewer" title="Rebecca Hauck"><!-- 07-18-2013 -->
 6 <link href="http://www.w3.org/TR/css3-ui/#nav-dir" rel="help">
 7 <meta content="interact" name="flags">
 8 <meta content="Test checks that directional focus navigation properties work on input elements." name="assert">
 9 <style>
10     #start {
11         nav-left: #finish;
12     }
13 </style>
14 </head><body>
15     <p>First, use directional navigation to navigate the focus to the text input containing "START" below.</p>
16     <!-- In Opera 12.16, directional navigation may be done using Shift+<arrow key>.
17          In the SmartTV emulator, use the keypad in the GUI. -->
18     <p>Test passes if navigating left once moves the focus to the "FINISH" input.</p>
19 
20     <div><input value="ignore"> <input id="start" value="START"> <input value="ignore"></div>
21 
22     <div><input value="ignore"> <input value="ignore"> <input value="ignore"></div>
23 
24     <div><input value="ignore"> <input id="finish" value="FINISH"> <input value="ignore"></div>
25 
26 </body></html>