Skip to content

Commit efbd741

Browse files
committed
Added unit test for button default type in forms. This confirms fix and will close #136.
1 parent 4bcc55c commit efbd741

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

Tests/WCAG2/3_2_2_Form_Input.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>3.2.2 Form Input</title>
5+
<!-- @HTMLCS_Test@
6+
Name: SC 3.2.2 Form Input
7+
Standard: WCAG2AAA
8+
Assert: Error *.H32.2 on #missingSubmit
9+
Assert: No Error *.H32.2 on #defaultSubmitType
10+
-->
11+
</head>
12+
<body>
13+
14+
<form id="missingSubmit"></form>
15+
16+
<form id="defaultSubmitType">
17+
<button>Submit</button>
18+
</form>
19+
20+
</body>
21+
</html>

0 commit comments

Comments
 (0)