No automatic activation of ONMOUSEOVER and ONMOUSEOUT events
On this page:
Test
1 |
References
|
About these tests
Nearby:
More HTML 4.01 Tests
|
UAAG 1.0 Test Suite
UAAG 1.0 Requirement
-
Checkpoint
9.5
No events on focus change
(Priority
2
)
-
Provision
1
:
Allow configuration so that moving the content focus to or from an enabled element does not automatically activate any explicitly associated event handlers of any event type.
Procedure
- Configure the user agent so that moving content focus to an enabled element does not automatically activate any explicitly associated event handlers of any event type.
- Move the mouse over and off the test image.
Run test
Expected results
- The test image does not change when the mouse is moved over the test image.
- The test image does not change when the mouse is moved off the test image.
Source code
<p>
<img id="test1" name="test1" onmouseover="imgChange1('../images/eventFired.gif')" onmouseout="imgChange1('../images/eventHandler.gif')" src="../images/eventHandler.gif" height="60" width="300" border="0" alt="Test event handler image"></img>
</p>
Test Script Code
function imgChange1( img )
{
document.test1.src = img;
}
-
HTML 4.01
specification for
ONMOUSEOVER
-
HTML 4.01
specification for
ONMOUSEOUT
This test is part of a
test suite
for the
User Agent Accessibility Guidelines (UAAG)
1.0
. This work is conducted by the
User Agent Accessibility Guidelines Working
Group
, which is part of W3C's
Web Accessibility Initiative (WAI)
. Please send comments on this test to w3c-wai-ua@w3.org (
public archive
).
Test created by:
Last modified: $Date: 2003/04/02 23:46:46 $ by $Author: jongund $
Copyright
© 1999 - 2003
W3C®
(
MIT
,
INRIA
,
Keio
), All Rights Reserved. W3C
liability
,
trademark
,
document use
and
software licensing
rules apply.