nav-down-008

Directional Focus Navigation - currently focused element for 'nav-down'

WeasyPrint

This browser

Flags
interact
Assertion
Test checks that focus doesn't change when navigating to the currently focused element for 'nav-down'.

Source

 1 <!DOCTYPE html>
 2 <html><head><title>CSS Basic User Interface Test: Directional Focus Navigation - currently focused element for 'nav-down'</title>
 3 <link href="mailto:jorritv@opera.com" rel="author" title="Jorrit Vermeiren">
 4 <link href="mailto:d.glazman@partner.samsung.com" rel="author" title="Daniel Glazman">
 5 <link href="http://www.w3.org/TR/css3-ui/#nav-dir" rel="help">
 6 <meta content="interact" name="flags">
 7 <meta content="Test checks that focus doesn't change when navigating to the currently focused element for 'nav-down'." name="assert">
 8 <style>
 9     #start {
10         nav-down: #start;
11     }
12 </style>
13 </head><body>
14     <p>First, use directional navigation to navigate the focus to the "START" link below.</p>
15     <!-- In Opera 12.16, directional navigation may be done using Shift+<arrow key>.
16          In the SmartTV emulator, use the keypad in the GUI. -->
17     <p>Test passes if the "START" element remains focused when navigating down.</p>
18 
19     <div>
20       <p><a href="">ignore</a></p>
21       <p><a href="" id="start">START</a></p>
22       <p><a href="">ignore</a></p>
23     </div>
24 
25 </body></html>