33 lines
628 B
HTML
33 lines
628 B
HTML
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
|
<html>
|
|
<head>
|
|
<script src="../resources/js-test.js"></script>
|
|
</head>
|
|
<body id="body" onload="setTimeout('runTest()', 0);">
|
|
|
|
<h1 id="heading">
|
|
<a href="Apple.com">
|
|
Apple
|
|
</a>
|
|
</h1>
|
|
|
|
<p id="description"></p>
|
|
<div id="console"></div>
|
|
|
|
<script>
|
|
|
|
jsTestIsAsync = true;
|
|
|
|
function runTest() {
|
|
description("This tests that the title of a heading will include links if available.");
|
|
|
|
if (window.accessibilityController)
|
|
debug("Heading title: " + accessibilityController.accessibleElementById("heading").title);
|
|
|
|
finishJSTest();
|
|
}
|
|
|
|
</script>
|
|
</body>
|
|
</html>
|