blob: 92b82d758a2d454b0af3928c7326df2a0c811283 [file] [log] [blame]
<!DOCTYPE html>
<html>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
<body id="body">
<ul>
<li><span class="a">test</span><span class="b">1</span></li>
<li id="test b"><span class="a">test</span><span class="b">2</span></li>
</ul>
<ol>
<li id="test a"><span class="a">test</span><span class="b">1</span></li>
<li><span class="a">test</span><span class="b">2</span></li>
</ol>
<BR><BR><BR><hr><BR>
<div id="result"></div>
<script>
if (window.accessibilityController) {
var result = document.getElementById("result");
var ulListElement = window.accessibilityController.accessibleElementById("test a");
result.innerText += 'il in ul title: ' + ulListElement.title + "\n\n";
var olListElement = window.accessibilityController.accessibleElementById("test b");
result.innerText += 'il in ol title: ' + olListElement.title + "\n\n";
}
</script>
</body>
</html>