-
Notifications
You must be signed in to change notification settings - Fork 1
/
formvalidationmessage.html
32 lines (25 loc) · 1.14 KB
/
formvalidationmessage.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!doctype html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Pricing tests</title>
<style type="text/css">
body { font-family: "Gill sans", "Trebuchet ms", sans-serif;}
</style>
</head>
<body>
<p>THis is a test. <a href="http://adobe.com">Adobe</a></p>
<form>
<input type="datatime"/>
<div class="event_reg_label" style="">
<label for="first-name" id="fn_lbl"> <!-- the label for attribute value needs to match the targeted control, the id is so the aria-labelledby can reference it -->
Login
</label>
<span class="mandatory">*</span>
</div>
<input type="text" name="first-name" id="first-name" class="event_reg_field" value="" onkeypress="return checkSubmit(event, regFormSubmit)" aria-required="true" required="true" style="border-color: red; border-width: 1px 1px 1px 2px;" aria-labelledby="fn_lbl first-name_errorMessage">
<span id="first-name_errorMessage" class="error_msg_registration"> This field is required </span>
</form>
<p>THis is a test. <a href="http://adobe.com">Adobe</a></p>
</body>
</html>