| <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| <script src="../../resources/js-test-pre.js"></script> |
| <math tabindex="0" id="math" alttext="F e sub 1 minus x, end subscript. C o sub x, S b sub 2"> |
| description("This tests that a math element will be exposed like an ARIA math element."); |
| if (window.accessibilityController) { |
| var math = accessibilityController.rootElement.childAtIndex(0).childAtIndex(0).childAtIndex(0); |
| shouldBe("math.role", "'AXRole: AXGroup'"); |
| shouldBe("math.subrole", "'AXSubrole: AXDocumentMath'"); |
| shouldBe("math.description", "'AXDescription: F e sub 1 minus x, end subscript. C o sub x, S b sub 2'"); |
| <script src="../../resources/js-test-post.js"></script> |