1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
4 <link rel="stylesheet" href="../../../fast/js/resources/js-test-style.css">
6 var successfullyParsed = false;
8 <script src="../../../fast/js/resources/js-test-pre.js"></script>
12 <math tabindex="0" id="math" alttext="F e sub 1 minus x, end subscript. C o sub x, S b sub 2">
39 <p id="description"></p>
40 <div id="console"></div>
44 description("This tests that a math element will be exposed like an ARIA math element.");
46 if (window.accessibilityController) {
48 var math = accessibilityController.rootElement.childAtIndex(0).childAtIndex(0).childAtIndex(0);
49 shouldBe("math.role", "'AXRole: AXGroup'");
50 shouldBe("math.subrole", "'AXSubrole: AXDocumentMath'");
51 shouldBe("math.description", "'AXDescription: F e sub 1 minus x, end subscript. C o sub x, S b sub 2'");
55 successfullyParsed = true;
58 <script src="../../../fast/js/resources/js-test-post.js"></script>