https://github.com/web-platform-tests/wpt
Raw File
Tip revision: f94d0b6525c39041274bbc6bf97b1761b96ebe1a authored by Darren Shen on 28 March 2018, 01:47:15 UTC
[css-typed-om] Support some text-decoration properties.
Tip revision: f94d0b6
spinbutton_readonly_true-manual.html
<!doctype html>
<html>
  <head>
    <title>spinbutton readonly true</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_SPIN_BUTTON"
               ],
               [
                  "property",
                  "interfaces",
                  "contains",
                  "Value"
               ],
               [
                  "property",
                  "states",
                  "contains",
                  "STATE_READ_ONLY"
               ]
            ],
            "AXAPI" : [
               [
                  "property",
                  "AXRole",
                  "is",
                  "AXIncrementor"
               ],
               [
                  "property",
                  "AXSubrole",
                  "is",
                  "<nil>"
               ],
               [
                  "property",
                  "AXRoleDescription",
                  "is",
                  "stepper"
               ],
               [
                  "result",
                  "AXUIElementIsAttributeSettable(AXValue)",
                  "is",
                  "false"
               ]
            ],
            "IAccessible2" : [
               [
                  "property",
                  "role",
                  "is",
                  "ROLE_SYSTEM_SPINBUTTON"
               ],
               [
                  "property",
                  "interfaces",
                  "contains",
                  "IAcesssibleValue"
               ],
               [
                  "property",
                  "states",
                  "doesNotContain",
                  "IA2_STATE_EDITABLE"
               ]
            ],
            "MSAA" : [
               [
                  "property",
                  "role",
                  "is",
                  "ROLE_SYSTEM_SPINBUTTON"
               ]
            ],
            "UIA" : [
               [
                  "property",
                  "ControlType",
                  "is",
                  "Spinner"
               ],
               [
                  "property",
                  "Value.IsReadOnly",
                  "is",
                  "true"
               ]
            ]
         },
         "title" : "step 1",
         "type" : "test"
      }
   ],
   "title" : "spinbutton readonly true"
}

    ) ;
    </script>
  </head>
  <body>
  <p>This test examines the ARIA properties for spinbutton readonly true.</p>
      <div id="test" role="spinbutton" aria-readonly="true">
    </div>

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