Success Criterion3.3.4 Error Prevention (Legal, Financial, Data): [Level AA]
Techniques
Where data entered into a form is of critical importance, there must be methods provided by which the transaction may be reversed, the data checked for errors or confirmation made before submission of data. At least one of these must be provided for the criteria to be successful. The two main situations where this important are where an application causes a legal transaction to occur, such as making a purchase or submitting an income tax return or where an action results in information being deleted.
Providing a stated time within which an online request (or transaction) may be amended or canceled by the user after making the request
This is where the user is provided with a specified time limit by which they may cancel the transaction. In addition to the time period for cancellation or changing the order being specified, the process for performing such tasks must also be provided.
Providing the ability for the user to review and correct answers before submitting
With a one-page form it is a relatively simple matter to review the completed form. A multi-page form however presents some complications. Two approaches in tackling a multi-page form are to provide a means to navigate backwards and forwards through the pages and/or to provide a summary of all data entered on completion with an opportunity to cancel at that stage.
Providing a checkbox in addition to a submit button
This should be placed near the 'Submit' button which text something like "I confirm that all data entered is correct". Any attempt to submit the form without the checkbox being selected is prevented. If the checkbox is not selected, the user should be offered an opportnity to review their data.
Providing the ability to recover deleted information
If a capability is provided by which data can actually be deleted, any deletion functionality should not cause permanent deletion of the data. Data deleted in error should be able to be recovered. This can be achieved in various ways depending on the nature of the deletion. Data can be marked for deletion but be available for recovery until such time that it is permamently deleted, perhaps by some method set to run a later scheduled time. Data could be deleted but may be recovered from transaction files files which capture data changes.
Requesting confirmation to continue with selected action
If a deletion of data is requested, the user should be presented with a confirmation request to allow the action to be continued or cancelled as demonstrated in the example below.
Providing a checkbox in addition to a submit button
As with a submission confirmation (see above), a checkbox can be provided which must be ticked before in order for any deletion to be activated.