4 testRunner
.dumpAsText();
8 <!-- the AXGroup that comes from the <td> should have the <th> as its title ui element
9 In the 2nd case, it should not have a title ui element -->
11 <table width=
"90" border=
"0">
13 <th>Header for button
</th>
14 <td><input type=
"button" value=
"button"></td>
18 <table width=
"90" border=
"0">
20 <td>Header for button
</td>
21 <td><input type=
"button" value=
"button"></td>
25 <div id=
"result"></div>
28 if (window
.accessibilityController
) {
29 var result
= document
.getElementById("result");
31 var body
= document
.getElementById("body");
33 var group
= accessibilityController
.focusedElement
.childAtIndex(1);
34 var group2
= accessibilityController
.focusedElement
.childAtIndex(3);
35 if (group
.deprecatedTitleUIElement().allAttributes() != "" && (group2
.deprecatedTitleUIElement() == null || group2
.deprecatedTitleUIElement().allAttributes() == ""))
36 result
.innerText
+= "Pass";
38 result
.innerText
+= "Fail";