Level 1
12.4 Associate labels explicitly with their controls.
		
N - accessible forms
Requirement 14: Form Labels
Priority 2
12.4 Associate labels explicitly with their controls.
		
Priority 2
12.4 Associate labels explicitly with their controls.
		
1.3 Ensure that information and structure can be separated from presentation
Success Criteria 1.3.1 Info and Relationships (A)
		
1.3  Adaptable: Create content that can be presented in different ways (for example simpler layout) without losing information or structure.
Success Criteria 1.3.1 Info and Relationships (A)
		
1.3 Adaptable: Create content that can be presented in different ways without losing information or structure.
Success Criteria 1.3.1 Info and Relationships (A)
		input elements, type of "checkbox", have an explicitly associated label.
input element, type of "checkbox", missing an associated label.
input element that contains a type attribute value of "checkbox" must have an associated label element. An associated label is one in which the for attribute value of the label element is the same as the id attribute value of the input element.
label element that surrounds the control's label. Set the for attribute on the label element to the same value as the id attribute of the control. And/or add a title attribute to the input element. And/or create a label element that contains the input element.
input elements that have a type attribute value of "checkbox".input element must have an explicitly associated label using one or more of the following methods.input element has an id attribute value that matches the for attribute value of a label element.input element has a title attribute.input element is contained by a label element.input elements, with type of "checkbox", have an explicitly associated label.label element for the input element and associate these elements using the ID and for attributes.title attribute to the input element.label element that contains the input element.input element has an associated label using label element.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" /> <title>OAC Testfile - Check #119 - Negative</title> </head> <body> <form action="http://somesite.com/prog/adduser" method="post"> <p> <label for="catbox">Cats</label> <input type="checkbox" id="catbox" name="cats" tabindex="1" /> </p> </form> </body> </html>
input element, type of "checkbox", does not have associated label.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" /> <title>OAC Testfile - Check #119 - Positive</title> </head> <body> <form action="http://somesite.com/prog/adduser" method="post"> <p> <label>Cats</label> <input type="checkbox" name="cats" tabindex="1" /> </p> </form> </body> </html>