<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="../resources/js-test-pre.js"></script> | |
</head> | |
<body> | |
<div tabindex=-1 id="group"> | |
hello world | |
</div> | |
<p id="description"></p> | |
<div id="console"></div> | |
<script> | |
description("This tests that a group has a tabindex < 0, it will not have a label exposed for title or description."); | |
if (window.accessibilityController) { | |
var group = accessibilityController.accessibleElementById("group"); | |
debug("Description: " + group.description); | |
debug("Title: " + group.title); | |
} | |
</script> | |
<script src="../resources/js-test-post.js"></script> | |
</body> | |
</html> |