| <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| <html> |
| <head> |
| <script src="../resources/js-test-pre.js"></script> |
| <script src="../resources/accessibility-helper.js"></script> |
| </head> |
| <body id="body"> |
| |
| <time id="timeElement" datetime="P15H10M">15 hrs, 10 min</time> |
| |
| <p id="description"></p> |
| <div id="console"></div> |
| <script> |
| description("This tests that items with aria-selected are reported as selected children of the parent container."); |
| |
| if (window.accessibilityController) { |
| var timeElement = accessibilityController.accessibleElementById("timeElement"); |
| debug("Time 'role': " + timeElement.role); |
| debug("Time 'subrole': " + timeElement.subrole); |
| debug("Time 'value': " + timeElement.stringAttributeValue('AXDateTimeValue')); |
| } |
| </script> |
| |
| <script src="../resources/js-test-post.js"></script> |
| </body> |
| </html> |