This test file is modified.
W3C WAI Test Suites
ONCHANGE attribute for TEXTAREA elements
Requirement Reference
- Test Suite: UAAG 1.0 Test Suite for HTML 4.01
- Guideline 1: Support input and output device-independence
- Checkpoint 1.2: Activate event handlers
- Provision 1.2.1:
Allow the user to activate, through keyboard input alone, all input
device event handlers that are explicitly associated with the element
designated by the content focus.
Test is required for conformance
Procedure
- Using the keyboard or an assistive technology that emulates the
keyboard, move focus to the text area and alter the original text area
value.
- Using the keyboard or an assistive technology that emulates the
keyboard, move focus off the text area to trigger the onChange event.
Test
Source Code
<form action="../action/return.html">
<label for="origText">Original Value:</label>
<textarea id="origText" name="origText" rows="1" cols="20" onchange="changeTest(this.form)">Original Value
</textarea>
Results
- The "Echoed Value" text area takes on the same value as the "Original Value" text area when the onChange event is triggered.
Copyright 2004 University of Illinois at Urbana/Champaign, Disclaimer