Candidate Set
Any element that meets the criteria of the test
Test
We should flag any element that is not in the tab order && contains and does not have the required matching event handler:
onmouseover && onfocus
onmousedown && (onkeyup || onkeydown || onkeypress)
onmouseup && (onkeyup ||onkeydown || onkeypress)
ondblclick && (onkeyup || onkeydown || onkeypress)
onmouseout && onblur
Form
This should be a standard pass/fail form:
Description & Note: Default value of the Description should be the element containing the event handler
Standard tool tips for Description & Note fields.
Description is required for failures.
Pass & Fail buttons
DIV with onmouseover but no onfocus -- should be flagged
This is the div content
DIV with onmouseover and onfocus -- should NOT be flagged
This is the div content
DIV with onmousedown but no onkeyup/onkeydown/onkeypress -- should be flagged
This is the div content
DIV with onmousedown and has onkeyup -- should NOT be flagged
This is the div content
DIV with onmousedown and has onkeydown -- should NOT be flagged
This is the div content
DIV with onmousedown and has onkeypress -- should NOT be flagged
This is the div content
DIV with onmouseup but no onkeyup/onkeydown/onkeypress -- should be flagged
This is the div content
DIV with onmouseup and has onkeyup -- should NOT be flagged
This is the div content
DIV with onmouseup and has onkeydown -- should NOT be flagged
This is the div content
DIV with onmouseup and has onkeypress -- should NOT be flagged
This is the div content
DIV with ondblclick but no onkeyup/onkeydown/onkeypress -- should be flagged
This is the div content
DIV with ondblclick and has onkeyup -- should NOT be flagged
This is the div content
DIV with ondblclick and has onkeydown -- should NOT be flagged
This is the div content
DIV with ondblclick and has onkeypress -- should NOT be flagged
This is the div content
DIV with onmouseout but no onblur -- should be flagged
This is the div content
DIV with onmouseout and onblur -- should NOT be flagged
This is the div content
jQuery versions of the same as above
DIV with onmouseover but no onfocus -- should be flagged
This is the content of the div
DIV with onmouseover and onfocus -- should NOT be flagged
This is the content of the div
DIV with onmousedown but no onkeyup/onkeydown/onkeypress -- should be flagged
This is the content of the div
DIV with onmousedown and has onkeyup -- should NOT be flagged
This is the content of the div
DIV with onmousedown and has onkeydown -- should NOT be flagged
This is the content of the div
DIV with onmousedown and has onkeypress -- should NOT be flagged
This is the content of the div
DIV with onmouseup but no onkeyup/onkeydown/onkeypress -- should be flagged
This is the content of the div
DIV with onmouseup and has onkeyup -- should NOT be flagged
This is the content of the div
DIV with onmouseup and has onkeydown -- should NOT be flagged
This is the content of the div
DIV with onmouseup and has onkeypress -- should NOT be flagged
This is the content of the div
DIV with ondblclick but no onkeyup/onkeydown/onkeypress -- should be flagged
This is the content of the div
DIV with ondblclick and has onkeyup -- should NOT be flagged
This is the content of the div
DIV with ondblclick and has onkeydown -- should NOT be flagged
This is the content of the div
DIV with ondblclick and has onkeypress -- should NOT be flagged
This is the content of the div
DIV with onmouseout but no onblur -- should be flagged
This is the content of the div
DIV with onmouseout and onblur -- should NOT be flagged
This is the content of the div