summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/wai-aria/manual/grid_busy_value_changes-manual.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/wai-aria/manual/grid_busy_value_changes-manual.html')
-rw-r--r--testing/web-platform/tests/wai-aria/manual/grid_busy_value_changes-manual.html200
1 files changed, 200 insertions, 0 deletions
diff --git a/testing/web-platform/tests/wai-aria/manual/grid_busy_value_changes-manual.html b/testing/web-platform/tests/wai-aria/manual/grid_busy_value_changes-manual.html
new file mode 100644
index 0000000000..4891198882
--- /dev/null
+++ b/testing/web-platform/tests/wai-aria/manual/grid_busy_value_changes-manual.html
@@ -0,0 +1,200 @@
+<!doctype html>
+<html>
+ <head>
+ <title>grid busy value changes</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" : [
+ {
+ "attribute" : "aria-busy",
+ "element" : "test",
+ "title" : "step 1",
+ "type" : "attribute",
+ "value" : "\"true\""
+ },
+ {
+ "element" : "test",
+ "test" : {
+ "ATK" : [
+ [
+ "event",
+ "type",
+ "is",
+ "object:state-changed:busy"
+ ],
+ [
+ "event",
+ "detail1",
+ "is",
+ "1"
+ ],
+ [
+ "property",
+ "role",
+ "is",
+ "ROLE_TABLE"
+ ],
+ [
+ "property",
+ "objectAttributes",
+ "contains",
+ "xml-roles:grid"
+ ],
+ [
+ "property",
+ "interfaces",
+ "contains",
+ "Table"
+ ],
+ [
+ "property",
+ "interfaces",
+ "contains",
+ "Selection"
+ ],
+ [
+ "result",
+ "atk_selection_clear_selection()",
+ "is",
+ "false"
+ ],
+ [
+ "property",
+ "states",
+ "contains",
+ "STATE_BUSY"
+ ]
+ ],
+ "AXAPI" : [
+ [
+ "event",
+ "type",
+ "is",
+ "AXElementBusyChanged"
+ ],
+ [
+ "property",
+ "AXRole",
+ "is",
+ "AXTable"
+ ],
+ [
+ "property",
+ "AXSubrole",
+ "is",
+ "<nil>"
+ ],
+ [
+ "property",
+ "AXRoleDescription",
+ "is",
+ "table"
+ ],
+ [
+ "property",
+ "AXElementBusy",
+ "is",
+ "true"
+ ]
+ ],
+ "IAccessible2" : [
+ [
+ "property",
+ "objectAttributes",
+ "contains",
+ "xml-roles:grid"
+ ],
+ [
+ "property",
+ "interfaces",
+ "contains",
+ "IAccessibleTable2"
+ ]
+ ],
+ "MSAA" : [
+ [
+ "event",
+ "type",
+ "is",
+ "EVENT_OBJECT_STATECHANGE"
+ ],
+ [
+ "property",
+ "role",
+ "is",
+ "ROLE_SYSTEM_TABLE"
+ ],
+ [
+ "property",
+ "states",
+ "contains",
+ "STATE_SYSTEM_BUSY"
+ ]
+ ],
+ "UIA" : [
+ [
+ "event",
+ "type",
+ "is",
+ "PropertyChangedEvent"
+ ],
+ [
+ "property",
+ "ControlType",
+ "is",
+ "DataGrid"
+ ],
+ [
+ "property",
+ "interfaces",
+ "contains",
+ "selection pattern"
+ ],
+ [
+ "result",
+ "AriaProperties.busy",
+ "is",
+ "true"
+ ]
+ ]
+ },
+ "title" : "step 2",
+ "type" : "test"
+ }
+ ],
+ "title" : "grid busy value changes"
+}
+
+ ) ;
+ </script>
+ </head>
+ <body>
+ <p>This test examines the ARIA properties for grid busy value changes.</p>
+ <div role="grid" aria-busy="false" id="test">
+ <div role="row">
+ <div role="columnheader">shoes</div>
+ <div role="columnheader">shirts</div>
+ </div>
+ <div role="row">
+ <div role="gridcell">loafers</div>
+ <div role="gridcell">polo</div>
+ </div>
+ <div role="row">
+ <div role="gridcell">laced</div>
+ <div role="gridcell">rugby</div>
+ </div>
+ </div>
+
+ <div id="manualMode"></div>
+ <div id="log"></div>
+ <div id="ATTAmessages"></div>
+ </body>
+</html>