nav-up-001.html (1379B)
1 <!DOCTYPE html> 2 <title>CSS Basic User Interface Test: Directional Focus Navigation (nav-up) - <id></title> 3 <link rel="author" title="Jorrit Vermeiren" href="mailto:jorritv@opera.com"> 4 <link rel="reviewer" title="Leif Arne Storset" href="mailto:lstorset@opera.com"> 5 <link rel="reviewer" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"><!-- 07-18-2013 --> 6 <link rel="help" href="https://drafts.csswg.org/css-ui-4/#nav-dir"> 7 <meta name="flags" content="interact"> 8 <meta name="assert" content="Test checks that upward navigation input respects the 'nav-up' property."> 9 <style> 10 #start { 11 nav-up: #finish; 12 } 13 </style> 14 <body> 15 <p>First, use directional navigation to navigate the focus to the "START" link 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 up once moves the focus to the "FINISH" link.</p> 19 20 <div><a href="">ignore</a> <a href="">ignore</a> <a href="">ignore</a> <a href="">ignore</a> <a href="">ignore</a></div> 21 22 <div><a href="">ignore</a> <a href="">ignore</a> <a href="" id="start">START</a> <a href="">ignore</a> <a href="">ignore</a></div> 23 24 <div><a href="">ignore</a> <a href="">ignore</a> <a href="">ignore</a> <a href="">ignore</a> <a href="" id="finish">FINISH</a></div> 25 </body>