blob: a44f157228109434d29d9ed5df5ce8b8babdb26d [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script>
var successfullyParsed = false;
</script>
<script src="../../resources/js-test-pre.js"></script>
</head>
<body id="body">
<dl>
<dt id="term"><b>term 1</b></dt>
<dd id="def">def 1</dd>
</dl>
<p id="description"></p>
<div id="console"></div>
<script>
description("This tests that description lists are exposed on iOS.");
if (window.accessibilityController) {
var term = accessibilityController.accessibleElementById("term").childAtIndex(0);
var def = accessibilityController.accessibleElementById("def").childAtIndex(0);
shouldBeTrue("term.isInDescriptionListTerm");
shouldBeTrue("def.isInDescriptionListDetail");
}
successfullyParsed = true;
</script>
<script src="../../resources/js-test-post.js"></script>
</body>
</html>