Element

form

Error Type

Potential

Guidelines

  • WCAG 2.0 (Level AA)
    Guideline Group3.3 Input Assistance: Help users avoid and correct mistakes.
    Guideline SubgroupSuccess Criteria 3.3.4 Error Prevention (Legal, Financial, Data) (AA)
  • WCAG 2.0 (Level AAA)
    Guideline Group3.3 Input Assistance: Help users avoid and correct mistakes.
    Guideline SubgroupSuccess Criteria 3.3.6 Error Prevention (All) (AAA)

Requirement

Information deleted using a web page can be recovered.

Error

Form may delete information without allowing for recovery.

Short Description

Help users with disabilities avoid serious consequences as the result of a mistake when performing an action that cannot be reversed.

How To Determine

Question If this form deletes information, can the user recover the information?
PASS Information deleted using this form can be recovered.
FAIL Information delted using this form can not be recovered.

Steps To Check

Procedure

1. Use the form to delete information on the server.
2. Check if there is a mechanism for recovering the information.

Expected Result

1. Information deleted using a web page can be recovered.

Failed Result

1. Add functionality to the site that allows the user to recover data that has been deleted.

Examples

Pass Examples

Form allows user to delete information and provides a method of recovery.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" />
<title>ATRC Testfile - Check #272.2 - Negative</title>
</head>
<body>

<p>Use the form below to remove your report from the repository.<br/>
Select the following link if you would like to <a href="http://www.example.com">recover a report</a> that has been previously deleted.</p>

<form action="http://www.example.com" method="post">
<p>
<label for="r1">Report Name:</label> <input type="text" id="r1" /><br/>
<input type="submit" value="Delete Report" />
</p>
</form>

<p></p>

</body>
</html>

Fail Examples

Form allows user to delete information without allowing recovery.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" />
<title>ATRC Testfile - Check #272.1 - Positive</title>
</head>
<body>

<p>Use the form below to remove your report from the repository.</p>

<form action="http://www.example.com" method="post">
<p>
<label for="r1">Report Name:</label> <input type="text" id="r1" /><br/>
<input type="submit" value="Delete Report" />
</p>
</form>

</body>
</html>
Web site engine's code is copyright © 2023
Inclusive Design Institute