nav-down-016

Directional Focus Navigation - disabled elements are not navigated for 'nav-down'

WeasyPrint

This browser

Flags
interact
Assertion
Test checks that disabled elements are not navigated for 'nav-down'.

Source

 1 <!DOCTYPE html>
 2 <html><head><title>CSS Basic User Interface Test: Directional Focus Navigation - disabled elements are not navigated 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 disabled elements are not navigated for 'nav-down'." name="assert">
 8 <style type="text/css">
 9     #start {
10         nav-down: #intermediate;
11     }
12     input {
13       display: block;
14     }
15 </style>
16 </head><body>
17     <p>First, use directional navigation to navigate the focus to the "START" text field below.</p>
18     <!-- In Opera 12.16, directional navigation may be done using Shift+<arrow key>.
19          In the SmartTV emulator, use the keypad in the GUI. -->
20     <p>Test passes if navigating down moves the focus to the "FINISH" text field and not the disabled "ignore" one.</p>
21 
22     <div id="parent">
23       <input value="START">
24       <input disabled="disabled" id="intermediate" value="ignore">
25       <input value="FINISH">
26     </div>
27 
28 </body></html>