https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 5b272d79f98537bdf1f3cf69a0142cdeb6e9f3ba authored by Simon Sapin on 08 April 2018, 06:53:12 UTC
Remove SimonSapin from OWNERS
Tip revision: 5b272d7
option_inside_combobox-manual.html
<!doctype html>
<html>
  <head>
    <title>option inside combobox</title>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
    <link rel="stylesheet" href="/resources/testharness.css">
    <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_MENU_ITEM"
               ]
            ],
            "AXAPI" : [
               [
                  "property",
                  "AXRole",
                  "is",
                  "AXStaticText"
               ],
               [
                  "property",
                  "AXSubrole",
                  "is",
                  "<nil>"
               ],
               [
                  "property",
                  "AXRoleDescription",
                  "is",
                  "text"
               ]
            ],
            "MSAA" : [
               [
                  "property",
                  "role",
                  "is",
                  "ROLE_SYSTEM_LISTITEM"
               ]
            ],
            "UIA" : [
               [
                  "property",
                  "ControlType",
                  "is",
                  "ListItem"
               ],
               [
                  "property",
                  "Control Pattern",
                  "is",
                  "Invoke"
               ]
            ]
         },
         "title" : "step 1",
         "type" : "test"
      }
   ],
   "title" : "option inside combobox"
}

    ) ;
    </script>
  </head>
  <body>
  <p>This test examines the ARIA properties for option inside combobox.</p>
    <div role='combobox'>
    <div role='textbox'>content</div>
    <div role='listbox'>
      <div role='option' id='test'>content</div>
    </div>
  </div>

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