nav-right-016.html (1150B)
1 <!DOCTYPE html> 2 <title>CSS Basic User Interface Test: Directional Focus Navigation - disabled elements are not navigated for 'nav-right'</title> 3 <link rel="author" title="Jorrit Vermeiren" href="mailto:jorritv@opera.com"> 4 <link rel="author" title="Daniel Glazman" href="mailto:d.glazman@partner.samsung.com"> 5 <link rel="help" href="https://drafts.csswg.org/css-ui-4/#nav-dir"> 6 <meta name="flags" content="interact"> 7 <meta name="assert" content="Test checks that disabled elements are not navigated for 'nav-right'."> 8 <style type="text/css"> 9 #start { 10 nav-right: #intermediate; 11 } 12 </style> 13 <body> 14 <p>First, use directional navigation to navigate the focus to the "START" text field 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 navigating right moves the focus to the "FINISH" text field and not the disabled "ignore" one.</p> 18 19 <div id="parent"> 20 <input value="START"/> 21 <input value="ignore" disabled="disabled" id="intermediate"/> 22 <input value="FINISH"/> 23 </div> 24 </body>