blob: 7847423bf2ed51a70ff1800a1f1291819d2a55a6 [file] [log] [blame]
cfleizach@apple.com036c0e02017-05-01 22:52:36 +00001<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2<html>
3<head>
4<script src="../resources/js-test-pre.js"></script>
5<script src="../resources/accessibility-helper.js"></script>
6</head>
7<body id="body">
8
9<time id="timeElement" datetime="P15H10M">15 hrs, 10 min</time>
10
11<p id="description"></p>
12<div id="console"></div>
13<script>
14 description("This tests that items with aria-selected are reported as selected children of the parent container.");
15
16 if (window.accessibilityController) {
17 var timeElement = accessibilityController.accessibleElementById("timeElement");
18 debug("Time 'role': " + timeElement.role);
19 debug("Time 'subrole': " + timeElement.subrole);
20 debug("Time 'value': " + timeElement.stringAttributeValue('AXDateTimeValue'));
21 }
22</script>
23
24<script src="../resources/js-test-post.js"></script>
25</body>
26</html>