https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 5423d8eda208d09132bddd79710ef3e716746218 authored by Mike Pennisi on 12 September 2018, 23:30:20 UTC
Demonstrate on downstream fork
Tip revision: 5423d8e
listbox_busy_false-manual.html
<!doctype html>
<html>
  <head>
    <title>listbox busy false</title>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
    <link rel="stylesheet" href="/wai-aria/scripts/manual.css">
    <script src="/resources/testharness.js"></script>
    <script src="/resources/testharnessreport.js"></script>
    <script src="/wai-aria/scripts/ATTAcomm.js"></script>
    <script>
    setup({explicit_timeout: true, explicit_done: true });

    var theTest = new ATTAcomm(
    {
   "steps" : [
      {
         "element" : "test",
         "test" : {
            "ATK" : [
               [
                  "property",
                  "role",
                  "is",
                  "ROLE_LIST_BOX"
               ],
               [
                  "property",
                  "interfaces",
                  "contains",
                  "Selection"
               ],
               [
                  "result",
                  "atk_selection_clear_selection()",
                  "is",
                  "false"
               ],
               [
                  "property",
                  "states",
                  "doesNotContain",
                  "STATE_BUSY"
               ]
            ],
            "AXAPI" : [
               [
                  "property",
                  "AXRole",
                  "is",
                  "AXList"
               ],
               [
                  "property",
                  "AXSubrole",
                  "is",
                  "<nil>"
               ],
               [
                  "property",
                  "AXRoleDescription",
                  "is",
                  "list"
               ],
               [
                  "property",
                  "AXElementBusy",
                  "is",
                  "false"
               ]
            ],
            "MSAA" : [
               [
                  "property",
                  "role",
                  "is",
                  "ROLE_SYSTEM_LISTBOX"
               ],
               [
                  "property",
                  "states",
                  "doesNotContain",
                  "STATE_SYSTEM_BUSY"
               ]
            ],
            "UIA" : [
               [
                  "property",
                  "ControlType",
                  "is",
                  "List"
               ],
               [
                  "result",
                  "AriaProperties.busy",
                  "is",
                  "false"
               ]
            ]
         },
         "title" : "step 1",
         "type" : "test"
      }
   ],
   "title" : "listbox busy false"
}

    ) ;
    </script>
  </head>
  <body>
  <p>This test examines the ARIA properties for listbox busy false.</p>
    <ul role="listbox" aria-busy="false" id="test">
       <li role="option">option 1</li>
       <li role="option">option 2</li>
  </ul>

  <div id="manualMode"></div>
  <div id="log"></div>
  <div id="ATTAmessages"></div>
  </body>
</html>
back to top