<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script>
if (window.testRunner)
    testRunner.dumpAsText();
</script>
</head>
<body>

<label>
Row 1
<input type="checkbox">
<a href="#" id="a1">More info</a>
<button>Do something</button>
</label>

<p id="description">This tests that a link element present inside a label element is accessible when label has more than one child.</p>
<div id="result"></div>

<script>
if (window.accessibilityController) {
    var test = document.getElementById("a1");
    test.focus();
    test = accessibilityController.focusedElement;
    result.innerText = "\nRole was:" + test.role;
}
</script>

</body>
</html>
