30 lines
681 B
HTML
30 lines
681 B
HTML
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
|
<html>
|
|
<head>
|
|
<script src="../../resources/js-test-pre.js"></script>
|
|
</head>
|
|
<body id="body">
|
|
|
|
<a href="http://www.webkit.org" id="link">link</a>
|
|
|
|
<p id="description"></p>
|
|
<div id="console"></div>
|
|
|
|
<script>
|
|
|
|
description("This tests that aria-label works on area elements.");
|
|
|
|
if (window.accessibilityController) {
|
|
|
|
document.getElementById("link").focus();
|
|
|
|
// This should not crash DRT even though it is an unsupported attribute for the element.
|
|
accessibilityController.focusedElement.cellForColumnAndRow(1, 1);
|
|
}
|
|
|
|
</script>
|
|
|
|
<script src="../../resources/js-test-post.js"></script>
|
|
</body>
|
|
</html>
|