blob: 943ff6c1d0fe1a610fb8b3c8d1a51da2aefae819 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../resources/js-test.js"></script>
</head>
<body>
<p>A br element<br id="br">should return newline as its accessible title.</p>
<p id="description"></p>
<div id="console"></div>
<script>
description("This tests that a br element will return the newline character as its accessible title.");
if (window.accessibilityController) {
var brElement = accessibilityController.accessibleElementById("br");
shouldBe("brElement.name", "'\\n'");
}
</script>
</body>
</html>