Skip to content

Commit 8880dda

Browse files
Hashen110dougwilson
authored andcommittedApr 11, 2022
examples: add missing html label associations
closes #4884
1 parent b91c7ff commit 8880dda

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎examples/auth/views/login.ejs

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
Try accessing <a href="/restricted">/restricted</a>, then authenticate with "tj" and "foobar".
77
<form method="post" action="/login">
88
<p>
9-
<label>Username:</label>
10-
<input type="text" name="username">
9+
<label for="username">Username:</label>
10+
<input type="text" name="username" id="username">
1111
</p>
1212
<p>
13-
<label>Password:</label>
14-
<input type="text" name="password">
13+
<label for="password">Password:</label>
14+
<input type="text" name="password" id="password">
1515
</p>
1616
<p>
1717
<input type="submit" value="Login">

0 commit comments

Comments
 (0)
Please sign in to comment.