1 Test labelable elements have labels attribute and others do not.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
7 Labelable: button [object HTMLButtonElement]
8 PASS element.labels.length is 1
10 Not labelable: datalist [object HTMLDataListElement]
11 PASS element.labels is undefined.
12 PASS element.labels is not null
14 Not labelable: fieldset [object HTMLFieldSetElement]
15 PASS element.labels is undefined.
16 PASS element.labels is not null
18 Labelable: input [object HTMLInputElement]
19 PASS element.labels.length is 1
21 Labelable: keygen [object HTMLKeygenElement]
22 PASS element.labels.length is 1
24 Not labelable: label [object HTMLLabelElement]
25 PASS element.labels is undefined.
26 PASS element.labels is not null
28 Not labelable: legend [object HTMLLegendElement]
29 PASS element.labels is undefined.
30 PASS element.labels is not null
32 Labelable: meter [object HTMLMeterElement]
33 PASS element.labels.length is 1
35 Not labelable: object [object HTMLObjectElement]
36 PASS element.labels is undefined.
37 PASS element.labels is not null
39 Not labelable: optgroup [object HTMLOptGroupElement]
40 PASS element.labels is undefined.
41 PASS element.labels is not null
43 Not labelable: option [object HTMLOptionElement]
44 PASS element.labels is undefined.
45 PASS element.labels is not null
47 Labelable: output [object HTMLOutputElement]
48 PASS element.labels.length is 1
50 Labelable: progress [object HTMLProgressElement]
51 PASS element.labels.length is 1
53 Labelable: select [object HTMLSelectElement]
54 PASS element.labels.length is 1
56 Labelable: textarea [object HTMLTextAreaElement]
57 PASS element.labels.length is 1
59 Labelable: buttonType [object HTMLInputElement]
60 PASS element.labels.length is 1
62 Labelable: checkboxType [object HTMLInputElement]
63 PASS element.labels.length is 1
65 Labelable: colorType [object HTMLInputElement]
66 PASS element.labels.length is 1
68 Labelable: dateType [object HTMLInputElement]
69 PASS element.labels.length is 1
71 Labelable: datetimeType [object HTMLInputElement]
72 PASS element.labels.length is 1
74 Labelable: datetime-localType [object HTMLInputElement]
75 PASS element.labels.length is 1
77 Labelable: emailType [object HTMLInputElement]
78 PASS element.labels.length is 1
80 Labelable: fileType [object HTMLInputElement]
81 PASS element.labels.length is 1
83 Not labelable: hiddenType [object HTMLInputElement]
84 PASS element.labels is null
86 Labelable: imageType [object HTMLInputElement]
87 PASS element.labels.length is 1
89 Labelable: monthType [object HTMLInputElement]
90 PASS element.labels.length is 1
92 Labelable: numberType [object HTMLInputElement]
93 PASS element.labels.length is 1
95 Labelable: passwordType [object HTMLInputElement]
96 PASS element.labels.length is 1
98 Labelable: radioType [object HTMLInputElement]
99 PASS element.labels.length is 1
101 Labelable: rangeType [object HTMLInputElement]
102 PASS element.labels.length is 1
104 Labelable: resetType [object HTMLInputElement]
105 PASS element.labels.length is 1
107 Labelable: searchType [object HTMLInputElement]
108 PASS element.labels.length is 1
110 Labelable: submitType [object HTMLInputElement]
111 PASS element.labels.length is 1
113 Labelable: telType [object HTMLInputElement]
114 PASS element.labels.length is 1
116 Labelable: textType [object HTMLInputElement]
117 PASS element.labels.length is 1
119 Labelable: timeType [object HTMLInputElement]
120 PASS element.labels.length is 1
122 Labelable: urlType [object HTMLInputElement]
123 PASS element.labels.length is 1
125 Labelable: weekType [object HTMLInputElement]
126 PASS element.labels.length is 1
127 PASS successfullyParsed is true