2 <script src=
"../resources/js-test.js"></script>
4 <dt id=
"dtElem">term
</dt>
5 <dd id=
"ddElem">definition
</dd>
9 description("This tests that AXRole for dl element is AXDescriptionList.")
11 if (window
.accessibilityController
) {
12 var dlElement
= accessibilityController
.accessibleElementById("dlElem");
13 shouldBe("dlElement.role", "'AXRole: AXDescriptionList'");
15 var dtElement
= accessibilityController
.accessibleElementById("dtElem");
16 shouldBe("dtElement.role", "'AXRole: AXDescriptionListTerm'");
18 var ddElement
= accessibilityController
.accessibleElementById("ddElem");
19 shouldBe("ddElement.role", "'AXRole: AXDescriptionListDetail'");