2.5.2 Conformance Shown with Non-Technical Explanation
The label turned green after you released the mouse button.
W3Schools onclick Event, About Copyright
2.5.2 Non-Conformance Shown with Technical Explanation and Markup
<form class="yesandno" id="sc252">
<label>mouse down</label> <input type="button" id="green" name="yesno" value="turn label green" onclick="MyFunction()" tabindex="1">
</form>
<script>
function MyFunction() {
document.getElementById("sc252").style.color = "green";
}
</script>
The onclick
event is better to use than onmousedown
for this action.