Use the label element on forms (rationale is that this potentially
improves accessibility, and certainly does no harm).
This commit is contained in:
parent
dc85eb7618
commit
b1d1bb6200
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=23728
3 changed files with 46 additions and 40 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2002 The FreeBSD Documentation Project
|
||||
* Copyright (c) 2002,2004-2005 The FreeBSD Documentation Project
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -23,7 +23,7 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $FreeBSD: www/en/freebsd.css,v 1.1 2002/03/16 08:40:25 murray Exp $
|
||||
* $FreeBSD: www/en/freebsd.css,v 1.2 2004/12/04 23:02:40 murray Exp $
|
||||
*/
|
||||
|
||||
DIV.EXAMPLE P B {
|
||||
|
@ -55,3 +55,9 @@ table.tasklist td.section {
|
|||
font-weight: bold;
|
||||
background-color: #e7e9f7;
|
||||
}
|
||||
|
||||
label {
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" [
|
||||
<!ENTITY date "$FreeBSD: www/en/register.sgml,v 1.21 2002/04/02 17:48:05 ceri Exp $">
|
||||
<!ENTITY date "$FreeBSD: www/en/register.sgml,v 1.22 2002/04/19 10:28:40 ceri Exp $">
|
||||
<!ENTITY title "Register">
|
||||
<!ENTITY % includes SYSTEM "includes.sgml"> %includes;
|
||||
]>
|
||||
|
@ -26,26 +26,26 @@
|
|||
<center>
|
||||
<table width="75%" border="0">
|
||||
<tr>
|
||||
<td>Email Address: </td>
|
||||
<td><label for="emaila">Email Address:</label> </td>
|
||||
|
||||
<td align="left"><input type="text" name="emaila"
|
||||
<td align="left"><input type="text" name="emaila" id="emaila"
|
||||
size="30"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Options for the
|
||||
announce@FreeBSD.org mailing list: </td>
|
||||
<td><b>Options for the
|
||||
announce@FreeBSD.org mailing list:</b> </td>
|
||||
|
||||
<td><input type="radio" name="announce" value="yes"> Subscribe<br>
|
||||
<input type="radio" name="announce" value="no"> Unsubscribe</td>
|
||||
<td><input type="radio" name="announce" id="announce-yes" value="yes"> <label for="announce-yes">Subscribe</label><br>
|
||||
<input type="radio" name="announce" id="announce-no" value="no"> <label for="announce-no">Unsubscribe</label></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Options for the
|
||||
security-notifications@FreeBSD.org mailing list: </td>
|
||||
<td><b>Options for the
|
||||
security-notifications@FreeBSD.org mailing list:</b> </td>
|
||||
|
||||
<td><input type="radio" name="security-notifications" value="yes"> Subscribe<br>
|
||||
<input type="radio" name="security-notifications" value="no"> Unsubscribe</td>
|
||||
<td><input type="radio" name="security-notifications" id="sn-yes" value="yes"> <label for="sn-yes">Subscribe</label><br>
|
||||
<input type="radio" name="security-notifications" id="sn-no" value="no"> <label for="sn-no">Unsubscribe</label></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" [
|
||||
<!ENTITY date "$FreeBSD: www/en/send-pr.sgml,v 1.41 2004/12/02 12:22:52 ceri Exp $">
|
||||
<!ENTITY date "$FreeBSD: www/en/send-pr.sgml,v 1.42 2005/01/05 12:16:14 ceri Exp $">
|
||||
<!ENTITY title "Submit a FreeBSD problem report">
|
||||
<!ENTITY copyright "This gnats pr-submission mechanism Copyright © 1996
|
||||
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.">
|
||||
|
@ -42,19 +42,19 @@
|
|||
<input type="hidden" name="submitterid" value="current-users" >
|
||||
<input type="hidden" name="confidential" value="no" >
|
||||
|
||||
<b>Your Electronic Mail Address</b>: <br>
|
||||
<input type="text" name="email" size="40">
|
||||
<label for="email">Your Electronic Mail Address</label>: <br>
|
||||
<input type="text" name="email" id="email" size="40">
|
||||
|
||||
<br><b>Your Name</b>:<br>
|
||||
<input type="text" name="originator" size="40" >
|
||||
<br><label for="originator">Your Name</label>:<br>
|
||||
<input type="text" name="originator" id="originator" size="40" >
|
||||
|
||||
<br><b>Your Organization or Company</b>: <br>
|
||||
<input type="text" name="organization" size="40" >
|
||||
<br><label for="organization">Your Organization or Company</label>: <br>
|
||||
<input type="text" name="organization" id="organization" size="40" >
|
||||
|
||||
<br><b>One line summary of the problem:</b> <br>
|
||||
<input type="text" name="synopsis" size="72" >
|
||||
<br><label for="synopsis">One line summary of the problem:</label> <br>
|
||||
<input type="text" name="synopsis" id="synopsis" size="72" >
|
||||
|
||||
<br><b>Category</b>: <select name="category">
|
||||
<br><label for="category">Category</label>: <select name="category" id="category">
|
||||
<option> advocacy</option>
|
||||
<option> alpha</option>
|
||||
<option> amd64</option>
|
||||
|
@ -76,19 +76,19 @@
|
|||
<option> www</option>
|
||||
</select>
|
||||
|
||||
<br><b>Severity</b>: <select name="severity">
|
||||
<br><label for="severity">Severity</label>: <select name="severity" id="severity">
|
||||
<option> non-critical</option>
|
||||
<option> serious</option>
|
||||
<option> critical</option>
|
||||
</select>
|
||||
|
||||
<br><b>Priority</b>: <select name="priority">
|
||||
<br><label for="priority">Priority</label>: <select name="priority" id="priority">
|
||||
<option> low</option>
|
||||
<option> medium</option>
|
||||
<option> high</option>
|
||||
</select>
|
||||
|
||||
<br><b>Class:</b> <select name="class">
|
||||
<br><label for="class">Class:</label> <select name="class" id="class">
|
||||
<option> sw-bug</option>
|
||||
<option> doc-bug</option>
|
||||
<option> change-request</option>
|
||||
|
@ -96,28 +96,28 @@
|
|||
<option> maintainer-update</option>
|
||||
</select>
|
||||
|
||||
<br><b>Which FreeBSD Release You Are Using </b>: <br>
|
||||
<input type="text" name="release" size="40" >
|
||||
<br><label for="release">Which FreeBSD Release You Are Using</label>: <br>
|
||||
<input type="text" name="release" id="release" size="40" >
|
||||
|
||||
<br><b>Environment (output of "uname -a" on the problem machine)</b>:
|
||||
<br><label for="environment">Environment (output of "uname -a" on the problem machine)</label>:
|
||||
<br>
|
||||
<textarea name="environment" rows="3" cols="72"></textarea><br>
|
||||
<textarea name="environment" id="environment" rows="3" cols="72"></textarea><br>
|
||||
|
||||
<b>Full Description</b>: <br>
|
||||
<textarea name="description" rows="6" cols="72"></textarea><br>
|
||||
<label for="description">Full Description</label>: <br>
|
||||
<textarea name="description" id="description" rows="6" cols="72"></textarea><br>
|
||||
|
||||
<b>How to repeat the problem</b>: <br>
|
||||
<textarea name="howtorepeat" rows="6" cols="72"></textarea><br>
|
||||
<label for="howtorepeat">How to repeat the problem</label>: <br>
|
||||
<textarea name="howtorepeat" id="howtorepeat" rows="6" cols="72"></textarea><br>
|
||||
|
||||
<b>Fix to the problem if known</b>: <br>
|
||||
<textarea name="fix" rows="6" cols="72"></textarea><br>
|
||||
<label for="fix">Fix to the problem if known</label>: <br>
|
||||
<textarea name="fix" id="fix" rows="6" cols="72"></textarea><br>
|
||||
|
||||
<b>Finally, please enter the code from the image below to prove
|
||||
you're not a robot</b>: <br>
|
||||
<label for="code-confirm">Finally, please enter the code from the image below to prove
|
||||
you're not a robot: <br>
|
||||
<img src="http://www.FreeBSD.org/cgi/sendpr-code.cgi?dummy=1"
|
||||
alt="Random text; if you cannot see the image, please email &bugbusters;"
|
||||
border="0" height="24">
|
||||
<input type="text" name="code-confirm" size="8"><br>
|
||||
border="0" height="24"></label>
|
||||
<input type="text" name="code-confirm" id="code-confirm" size="8"><br>
|
||||
|
||||
<input type="submit" value="Submit Problem Report" >
|
||||
<input type="reset" value="Reset" >
|
||||
|
|
Loading…
Reference in a new issue