| Joanmarie Diggs | f4652d9 | 2017-04-25 14:55:40 | [diff] [blame] | 1 | <!doctype html> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>doc-example</title> |
| 5 | <link rel="stylesheet" href="/resources/testharness.css"> |
| 6 | <link rel="stylesheet" href="/wai-aria/scripts/manual.css"> |
| 7 | <script src="/resources/testharness.js"></script> |
| 8 | <script src="/resources/testharnessreport.js"></script> |
| 9 | <script src="/wai-aria/scripts/ATTAcomm.js"></script> |
| 10 | <script> |
| 11 | setup({explicit_timeout: true, explicit_done: true }); |
| 12 | |
| 13 | var theTest = new ATTAcomm( |
| 14 | { |
| 15 | "steps" : [ |
| 16 | { |
| 17 | "element" : "test", |
| 18 | "test" : { |
| 19 | "ATK" : [ |
| 20 | [ |
| 21 | "property", |
| 22 | "role", |
| 23 | "is", |
| 24 | "ROLE_SECTION" |
| 25 | ], |
| 26 | [ |
| 27 | "property", |
| 28 | "objectAttributes", |
| 29 | "contains", |
| 30 | "xml-roles:doc-example" |
| 31 | ] |
| 32 | ], |
| 33 | "AXAPI" : [ |
| 34 | [ |
| 35 | "property", |
| 36 | "AXRole", |
| 37 | "is", |
| 38 | "AXGroup" |
| 39 | ], |
| 40 | [ |
| 41 | "property", |
| 42 | "AXSubrole", |
| 43 | "is", |
| 44 | "AXApplicationGroup" |
| 45 | ], |
| 46 | [ |
| 47 | "property", |
| 48 | "AXRoleDescription", |
| 49 | "is", |
| 50 | "group" |
| 51 | ] |
| 52 | ], |
| 53 | "IAccessible2" : [ |
| 54 | [ |
| 55 | "property", |
| 56 | "objectAttributes", |
| 57 | "contains", |
| 58 | "xml-roles:doc-example" |
| 59 | ], |
| 60 | [ |
| 61 | "property", |
| 62 | "role", |
| 63 | "is", |
| 64 | "IA2_ROLE_SECTION" |
| 65 | ] |
| 66 | ], |
| 67 | "UIA" : [ |
| 68 | [ |
| 69 | "property", |
| 70 | "ControlType", |
| 71 | "is", |
| 72 | "Text" |
| 73 | ], |
| 74 | [ |
| 75 | "property", |
| 76 | "LocalizedControlType", |
| 77 | "is", |
| 78 | "example" |
| 79 | ] |
| Joanmarie Diggs | f4652d9 | 2017-04-25 14:55:40 | [diff] [blame] | 80 | ] |
| 81 | }, |
| 82 | "title" : "step 1", |
| 83 | "type" : "test" |
| 84 | } |
| 85 | ], |
| 86 | "title" : "doc-example" |
| 87 | } |
| 88 | |
| 89 | ) ; |
| 90 | </script> |
| 91 | </head> |
| 92 | <body> |
| 93 | <p>This test examines the ARIA properties for doc-example.</p> |
| 94 | <div role="doc-example" id="test">Text</div> |
| 95 | |
| 96 | <div id="manualMode"></div> |
| 97 | <div id="log"></div> |
| 98 | <div id="ATTAmessages"></div> |
| 99 | </body> |
| 100 | </html> |
| 101 | |