WCAG/3.3.3: Add example for required form elements

refs #8349
This commit is contained in:
Johannes Meyer 2015-02-05 13:14:29 +01:00
parent d8c40d40a0
commit 707d977cfc
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Accessibility: Required form elements</title>
<meta name="description" content="Required form elements">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<form>
<label>
Enter some text:&nbsp;
<input type="text" name="some_text" value="" aria-required="true" required>
</label>
<input type="submit" name="btn_submit" value="Submit">
</form>
</body>
</html>