<!DOCTYPE html> | |
<body> | |
<p>Click a label element makes an associated control focused, but it shouldn't have focus appearance.</p> | |
<button id="button1">Button</button><label for="button1">Label</label> | |
<script src="../resources/common.js"></script> | |
<script> | |
clickElement(document.querySelector('label')); | |
</script> | |
</body> |