1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
4 <script src="../fast/js/resources/js-test-pre.js"></script>
8 <div contentEditable=true style="outline:1px solid"></div>
10 <h3 id="h3" tabindex=0>test</h3>
12 <p id="description"></p>
13 <div id="console"></div>
17 description("This tests that a contenteditable element will not be ignored by accessibility.");
19 if (window.accessibilityController) {
21 document.getElementById("body").focus();
23 // make sure this element is NOT the h3 element (which otherwise would be the first element)
24 var editableDiv = accessibilityController.focusedElement.childAtIndex(0);
26 document.getElementById("h3").focus();
27 shouldBe("accessibilityController.focusedElement.isEqual(editableDiv)", "false");
32 <script src="../fast/js/resources/js-test-post.js"></script>