https://github.com/web-platform-tests/wpt
Raw File
Tip revision: da25c99886fb1a85fcf5a138bb8f337761c5aa7f authored by Anne van Kesteren on 06 June 2018, 09:55:14 UTC
move service worker into resources too
Tip revision: da25c99
scrollbar_only_valuenow_unspecified-manual.html
<!doctype html>
<html>
  <head>
    <title>scrollbar only valuenow unspecified</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_SCROLL_BAR"
               ],
               [
                  "property",
                  "interfaces",
                  "contains",
                  "Value"
               ],
               [
                  "result",
                  "atk_value_get_minimum_value()",
                  "is",
                  "0"
               ],
               [
                  "result",
                  "atk_value_get_current_value()",
                  "is",
                  "20"
               ],
               [
                  "result",
                  "atk_value_get_maximum_value()",
                  "is",
                  "40"
               ]
            ],
            "AXAPI" : [
               [
                  "property",
                  "AXRole",
                  "is",
                  "AXScrollBar"
               ],
               [
                  "property",
                  "AXSubrole",
                  "is",
                  "<nil>"
               ],
               [
                  "property",
                  "AXRoleDescription",
                  "is",
                  "scroll bar"
               ],
               [
                  "property",
                  "AXMinValue",
                  "is",
                  "0"
               ],
               [
                  "property",
                  "AXValue",
                  "is",
                  "20"
               ],
               [
                  "property",
                  "AXMaxValue",
                  "is",
                  "40"
               ]
            ],
            "IAccessible2" : [
               [
                  "property",
                  "role",
                  "is",
                  "ROLE_SYSTEM_SCROLLBAR"
               ],
               [
                  "property",
                  "interfaces",
                  "contains",
                  "AccessibleValue"
               ],
               [
                  "property",
                  "minimumValue",
                  "is",
                  "0"
               ],
               [
                  "property",
                  "currentValue",
                  "is",
                  "20"
               ],
               [
                  "property",
                  "maximumValue",
                  "is",
                  "40"
               ]
            ],
            "MSAA" : [
               [
                  "property",
                  "role",
                  "is",
                  "ROLE_SYSTEM_SCROLLBAR"
               ]
            ],
            "UIA" : [
               [
                  "property",
                  "ControlType",
                  "is",
                  "ScrollBar"
               ],
               [
                  "property",
                  "controlPatterns",
                  "contains",
                  "RangeValue"
               ],
               [
                  "result",
                  "RangeValue.Minimum",
                  "is",
                  "0"
               ],
               [
                  "result",
                  "RangeValue.Value",
                  "is",
                  "20"
               ],
               [
                  "result",
                  "RangeValue.Maximum",
                  "is",
                  "40"
               ]
            ]
         },
         "title" : "step 1",
         "type" : "test"
      }
   ],
   "title" : "scrollbar only valuenow unspecified"
}

    ) ;
    </script>
  </head>
  <body>
  <p>This test examines the ARIA properties for scrollbar only valuenow unspecified.</p>
    <div role="scrollbar" aria-valuemin="0" aria-valuemax="40" id="test">
  Go Fish
  </div>

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