W3CWeb Accessibility Initiative Home

Confirm Form Submission

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 5.5 Confirm form submission (Priority 2 )
Provision 1 : Allow configuration to prompt the user to confirm (or cancel) any form submission.

Test 1 :

Procedure

  1. Configure the user agent to prompt the user to confirm (or cancel) any form submission.
  2. Submit the test form using the submit button.

Run test

Test form 1:

Expected results

  1. The user agent should prompt the user to confirm or cancel the form submission before submitting the test form in response to the activation of the submit button.

Source code

<div>
  <h5>Test form 1:</h5>
  <form action="../action/return.html" method="post" enctype="application/x-www-form-urlencoded">
    <table summary="Layout table" border="0">
      <tr>
        <td rowspan="2" valign="top" colspan="1">
          <label for="input">Test Input: </label>
        </td>
        <td rowspan="1" colspan="1">
          <input type="text" name="input" id="input"></input>
          <br clear="none"></br>
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          <button id="submit" name="submit" type="submit" value="submit">Submit</button>
        </td>
      </tr>
    </table>
  </form>
</div>

References

  1. HTML 4.01 specification for BUTTON

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