Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WAI: New, updated, and less-linty tests #7426

Merged
merged 4 commits into from
Sep 21, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion core-aam/alert-manual.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,3 @@
<div id="ATTAmessages"></div>
</body>
</html>

1 change: 0 additions & 1 deletion core-aam/alertdialog-manual.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,3 @@
<div id="ATTAmessages"></div>
</body>
</html>

1 change: 0 additions & 1 deletion core-aam/application-manual.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,3 @@
<div id="ATTAmessages"></div>
</body>
</html>

1 change: 0 additions & 1 deletion core-aam/aria-atomic_false-manual.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,3 @@
<div id="ATTAmessages"></div>
</body>
</html>

1 change: 0 additions & 1 deletion core-aam/aria-atomic_true-manual.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,3 @@
<div id="ATTAmessages"></div>
</body>
</html>

69 changes: 69 additions & 0 deletions core-aam/aria-autocomplete_both-manual.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
<!doctype html>
<html>
<head>
<title>aria-autocomplete=both</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",
"objectAttributes",
"contains",
"autocomplete:both"
],
[
"property",
"states",
"contains",
"STATE_SUPPORTS_AUTOCOMPLETION"
]
],
"IAccessible2" : [
[
"property",
"objectAttributes",
"contains",
"autocomplete:both"
],
[
"property",
"states",
"contains",
"IA2_STATE_SUPPORTS_AUTOCOMPLETION"
]
]
},
"title" : "step 1",
"type" : "test"
}
],
"title" : "aria-autocomplete=both"
}

) ;
</script>
</head>
<body>
<p>This test examines the ARIA properties for aria-autocomplete=both.</p>
<div role='combobox' id='test' aria-autocomplete='both'>
<div role='textbox'>content</div>
</div>

<div id="manualMode"></div>
<div id="log"></div>
<div id="ATTAmessages"></div>
</body>
</html>
69 changes: 69 additions & 0 deletions core-aam/aria-autocomplete_inline-manual.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
<!doctype html>
<html>
<head>
<title>aria-autocomplete=inline</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",
"objectAttributes",
"contains",
"autocomplete:inline"
],
[
"property",
"states",
"contains",
"STATE_SUPPORTS_AUTOCOMPLETION"
]
],
"IAccessible2" : [
[
"property",
"objectAttributes",
"contains",
"autocomplete:inline"
],
[
"property",
"states",
"contains",
"IA2_STATE_SUPPORTS_AUTOCOMPLETION"
]
]
},
"title" : "step 1",
"type" : "test"
}
],
"title" : "aria-autocomplete=inline"
}

) ;
</script>
</head>
<body>
<p>This test examines the ARIA properties for aria-autocomplete=inline.</p>
<div role='combobox' id='test' aria-autocomplete='inline'>
<div role='textbox'>content</div>
</div>

<div id="manualMode"></div>
<div id="log"></div>
<div id="ATTAmessages"></div>
</body>
</html>
69 changes: 69 additions & 0 deletions core-aam/aria-autocomplete_list-manual.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
<!doctype html>
<html>
<head>
<title>aria-autocomplete=list</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",
"objectAttributes",
"contains",
"autocomplete:list"
],
[
"property",
"states",
"contains",
"STATE_SUPPORTS_AUTOCOMPLETION"
]
],
"IAccessible2" : [
[
"property",
"objectAttributes",
"contains",
"autocomplete:list"
],
[
"property",
"states",
"contains",
"IA2_STATE_SUPPORTS_AUTOCOMPLETION"
]
]
},
"title" : "step 1",
"type" : "test"
}
],
"title" : "aria-autocomplete=list"
}

) ;
</script>
</head>
<body>
<p>This test examines the ARIA properties for aria-autocomplete=list.</p>
<div role='combobox' id='test' aria-autocomplete='list'>
<div role='textbox'>content</div>
</div>

<div id="manualMode"></div>
<div id="log"></div>
<div id="ATTAmessages"></div>
</body>
</html>
1 change: 0 additions & 1 deletion core-aam/aria-busy_false-manual.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,3 @@
<div id="ATTAmessages"></div>
</body>
</html>

1 change: 0 additions & 1 deletion core-aam/aria-busy_true-manual.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,3 @@
<div id="ATTAmessages"></div>
</body>
</html>

136 changes: 136 additions & 0 deletions core-aam/aria-busy_value_changes-manual.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
<!doctype html>
<html>
<head>
<title>aria-busy value changes</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" : [
{
"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"
]
],
"AXAPI" : [
[
"event",
"type",
"is",
"AXElementBusyChanged"
]
],
"MSAA" : [
[
"event",
"type",
"is",
"EVENT_OBJECT_STATECHANGE"
]
],
"UIA" : [
[
"event",
"type",
"is",
"PropertyChangedEvent"
]
]
},
"title" : "step 2",
"type" : "test"
},
{
"attribute" : "aria-busy",
"element" : "test",
"title" : "step 3",
"type" : "attribute",
"value" : "false"
},
{
"element" : "test",
"test" : {
"ATK" : [
[
"event",
"type",
"is",
"object:state-changed:busy"
],
[
"event",
"detail1",
"is",
"0"
]
],
"AXAPI" : [
[
"event",
"type",
"is",
"AXElementBusyChanged"
]
],
"MSAA" : [
[
"event",
"type",
"is",
"EVENT_OBJECT_STATECHANGE"
]
],
"UIA" : [
[
"event",
"type",
"is",
"PropertyChangedEvent"
]
]
},
"title" : "step 4",
"type" : "test"
}
],
"title" : "aria-busy value changes"
}

) ;
</script>
</head>
<body>
<p>This test examines the ARIA properties for aria-busy value changes.</p>
<div role='group' id='test'>content</div>

<div id="manualMode"></div>
<div id="log"></div>
<div id="ATTAmessages"></div>
</body>
</html>
1 change: 0 additions & 1 deletion core-aam/aria-checked_false_on_checkbox-manual.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,3 @@
<div id="ATTAmessages"></div>
</body>
</html>

1 change: 0 additions & 1 deletion core-aam/aria-checked_false_on_menuitemradio-manual.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,3 @@
<div id="ATTAmessages"></div>
</body>
</html>

1 change: 0 additions & 1 deletion core-aam/aria-checked_mixed-manual.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,3 @@
<div id="ATTAmessages"></div>
</body>
</html>

Loading