1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
4 <script src="../../../fast/js/resources/js-test-pre.js"></script>
8 <div tabindex="0" id="marquee1" role="marquee">marquee1</div>
9 <div tabindex="0" id="marquee2" role="marquee" aria-live="assertive">marquee2</div>
11 <p id="description"></p>
12 <div id="console"></div>
16 description("This tests that the marquee role has the correct default aria-live status (off).");
18 if (window.accessibilityController) {
20 // Make sure that regular elements are not exposing ARIA live attributes.
21 document.getElementById("marquee1").focus();
22 shouldBe("accessibilityController.focusedElement.stringAttributeValue('AXARIALive')", "'off'");
24 document.getElementById("marquee2").focus();
25 shouldBe("accessibilityController.focusedElement.stringAttributeValue('AXARIALive')", "'assertive'");
30 <script src="../../../fast/js/resources/js-test-post.js"></script>