diff options
Diffstat (limited to 'testing/web-platform/tests/wai-aria/manual/spinbutton_only_aria-valuenow_unspecified-manual.html')
-rw-r--r-- | testing/web-platform/tests/wai-aria/manual/spinbutton_only_aria-valuenow_unspecified-manual.html | 183 |
1 files changed, 183 insertions, 0 deletions
diff --git a/testing/web-platform/tests/wai-aria/manual/spinbutton_only_aria-valuenow_unspecified-manual.html b/testing/web-platform/tests/wai-aria/manual/spinbutton_only_aria-valuenow_unspecified-manual.html new file mode 100644 index 0000000000..bbb94702fe --- /dev/null +++ b/testing/web-platform/tests/wai-aria/manual/spinbutton_only_aria-valuenow_unspecified-manual.html @@ -0,0 +1,183 @@ +<!doctype html> +<html> + <head> + <title>spinbutton only aria-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_SPIN_BUTTON" + ], + [ + "property", + "interfaces", + "contains", + "Value" + ], + [ + "result", + "atk_value_get_minimum_value()", + "is", + "0" + ], + [ + "result", + "atk_value_get_current_value()", + "is", + "0" + ], + [ + "result", + "atk_value_get_maximum_value()", + "is", + "100" + ] + ], + "AXAPI" : [ + [ + "property", + "AXRole", + "is", + "AXIncrementor" + ], + [ + "property", + "AXSubrole", + "is", + "<nil>" + ], + [ + "property", + "AXRoleDescription", + "is", + "stepper" + ], + [ + "property", + "AXMinValue", + "is", + "0" + ], + [ + "property", + "AXValue", + "is", + "0" + ], + [ + "property", + "AXMaxValue", + "is", + "100" + ] + ], + "IAccessible2" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_SPINBUTTON" + ], + [ + "property", + "interfaces", + "contains", + "AccessibleValue" + ], + [ + "property", + "minimumValue", + "is", + "0" + ], + [ + "property", + "currentValue", + "is", + "0" + ], + [ + "property", + "maximumValue", + "is", + "100" + ] + ], + "MSAA" : [ + [ + "property", + "role", + "is", + "ROLE_SYSTEM_SPINBUTTON" + ] + ], + "UIA" : [ + [ + "property", + "ControlType", + "is", + "Spinner" + ], + [ + "property", + "interfaces", + "contains", + "RangeValue" + ], + [ + "result", + "RangeValue.Minimum", + "is", + "0" + ], + [ + "result", + "RangeValue.Value", + "is", + "0" + ], + [ + "result", + "RangeValue.Maximum", + "is", + "100" + ] + ] + }, + "title" : "step 1", + "type" : "test" + } + ], + "title" : "spinbutton only aria-valuenow unspecified" +} + + ) ; + </script> + </head> + <body> + <p>This test examines the ARIA properties for spinbutton only aria-valuenow unspecified.</p> + <div role="spinbutton" aria-valuemin="0" aria-valuemax="100" id="test"> + Go Fish + </div> + + + <div id="manualMode"></div> + <div id="log"></div> + <div id="ATTAmessages"></div> + </body> +</html> |