W3CWeb Accessibility Initiative Home

INPUT buttons

On this page: Test 1 | Test 2 | Test 3 | References | About these tests

Nearby: More HTML 4.01 Tests | UAAG 1.0 Test Suite

UAAG 1.0 Requirement

Checkpoint 1.1 Full keyboard access (Priority 1 )
Provision 1 : Ensure that the user can operate, through keyboard input alone, any user agent functionality available through the user interface.

Test 1 :

Procedure

  1. Using the standard keyboard or an assistive technology that emulates the keyboard, move focus to the submit button.
  2. Then, using the standard keyboard or an assistive technology that emulates the keyboard, activate the submit button.

Run test

Expected results

  1. The keyboard or an assistive technology that emulates the keyboard moves focus to the submit button.
  2. The keyboard or an assistive technology that emulates the keyboard activates the submit button.

Source code

<form action="../action/return.html" method="post" enctype="application/x-www-form-urlencoded">
  <label for="submit">Submit Button: </label>
  <input id="submit" type="submit" value="Submit" name="submit"></input>
</form>

Test 2 :

Procedure

  1. Using the standard keyboard or an assistive technology that emulates the keyboard, move focus to the text area and change the value of the text area.
  2. Then, using the standard keyboard or an assistive technology that emulates the keyboard, move focus to reset button.
  3. Then, using the standard keyboard or an assistive technology that emulates the keyboard, activate the reset button.

Run test


Expected results

  1. The standard keyboard or an assistive technology that emulates the keyboard moves focus to the TEXTAREA, allowing the user to change "Initial Value".
  2. The standard keyboard or an assistive technology that emulates the keyboard moves focus to and then activates the "reset" button to return the TEXTAREA to "Initial Value".

Source code

<form action="../action/return.html" method="post" enctype="application/x-www-form-urlencoded">
  <label for="textarea">Default Textarea </label>
  <textarea id="textarea" name="textarea" rows="1" cols="14">Initial Value</textarea>
  <br clear="none"></br>
  <label for="reset">Reset Button </label>
  <input id="reset" type="reset" value="reset" name="reset"></input>
</form>

Test 3 :

Procedure

  1. Using the standard keyboard or an assistive technology that emulates the keyboard, move focus to the "Test Button".
  2. Then using the standard keyboard or an assistive technology that emulates the keyboard, and activate the "Test Button".

Run test

Expected results

  1. The standard keyboard or an assistive technology that emulates the keyboard moves focus to the "Test Button" and activates the button and its associated function.

Source code

<form action="../action/return.html" method="get" enctype="application/x-www-form-urlencoded">
  <label for="test-button">Test Button: </label>
  <input id="test-button" type="button" value="Test Button" onclick="document.write("Test was successful. Click back on your browser to return to test suite.")"></input>
</form>

References

  1. HTML 4.01 specification for INPUT buttons

About this test suite

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:27 $ by $Author: jongund $