@@ -15,15 +15,35 @@ ruleTester.run('template-require-valid-form-groups', rule, {
1515 <label for="radio-001">Chicago Zoey</label>
1616 <input id="radio-001" type="radio" name="prefMascot-Zoey" value="chicago zoey" />
1717 </div>
18+ <div>
19+ <label for="radio-002">Office Hours Tomster</label>
20+ <input
21+ id="radio-002"
22+ type="radio"
23+ name="prefMascot-OfficeHoursTomster"
24+ value="office hours tomster"
25+ />
26+ </div>
27+ <div>
28+ <label for="radio-003">A11y Zoey</label>
29+ <input id="radio-003" type="radio" name="prefMascot-Zoey" value="a11y zoey" />
30+ </div>
1831 </fieldset>
1932 </template>` ,
2033 `<template>
2134 <div role="group" aria-labelledby="preferred-mascot-heading">
2235 <div id="preferred-mascot-heading">Preferred Mascot Version</div>
2336 <label for="radio-001">Chicago Zoey</label>
2437 <input id="radio-001" type="radio" name="prefMascot-Zoey" value="chicago zoey" />
25- <label for="radio-002">Chicago Tom</label>
26- <input id="radio-002" type="radio" name="prefMascot-Tom" value="chicago zoey" />
38+ <label for="radio-002">Office Hours Tomster</label>
39+ <input
40+ id="radio-002"
41+ type="radio"
42+ name="prefMascot-OfficeHoursTomster"
43+ value="office hours tomster"
44+ />
45+ <label for="radio-003">A11y Zoey</label>
46+ <input id="radio-003" type="radio" name="prefMascot-Zoey" value="a11y zoey" />
2747 </div>
2848 </template>` ,
2949 `<template>
@@ -39,13 +59,23 @@ ruleTester.run('template-require-valid-form-groups', rule, {
3959 <label for="radio-001">Chicago Zoey</label>
4060 <input id="radio-001" type="radio" name="prefMascot-Zoey" value="chicago zoey">
4161 </div>
62+ <div>
63+ <label for="radio-002">Office Hours Tomster</label>
64+ <input id="radio-002" type="radio" name="prefMascot-OfficeHoursTomster" value="office hours tomster">
65+ </div>
66+ <div>
67+ <label for="radio-003">A11y Zoey</label>
68+ <input id="radio-003" type="radio" name="prefMascot-Zoey" value="a11y zoey">
69+ </div>
4270 </fieldset></template>` ,
4371 `<template><div role="group" aria-labelledby="preferred-mascot-heading">
4472 <div id="preferred-mascot-heading">Preferred Mascot Version</div>
4573 <label for="radio-001">Chicago Zoey</label>
4674 <input id="radio-001" type="radio" name="prefMascot-Zoey" value="chicago zoey">
47- <label for="radio-002">Chicago Tom</label>
48- <input id="radio-002" type="radio" name="prefMascot-Tom" value="chicago zoey">
75+ <label for="radio-002">Office Hours Tomster</label>
76+ <input id="radio-002" type="radio" name="prefMascot-OfficeHoursTomster" value="office hours tomster">
77+ <label for="radio-003">A11y Zoey</label>
78+ <input id="radio-003" type="radio" name="prefMascot-Zoey" value="a11y zoey">
4979 </div></template>` ,
5080 `<template><div>
5181 <label for="radio-001">Chicago Zoey</label>
@@ -82,13 +112,23 @@ hbsRuleTester.run('template-require-valid-form-groups', rule, {
82112 <label for="radio-001">Chicago Zoey</label>
83113 <input id="radio-001" type="radio" name="prefMascot-Zoey" value="chicago zoey">
84114 </div>
115+ <div>
116+ <label for="radio-002">Office Hours Tomster</label>
117+ <input id="radio-002" type="radio" name="prefMascot-OfficeHoursTomster" value="office hours tomster">
118+ </div>
119+ <div>
120+ <label for="radio-003">A11y Zoey</label>
121+ <input id="radio-003" type="radio" name="prefMascot-Zoey" value="a11y zoey">
122+ </div>
85123 </fieldset>` ,
86124 `<div role="group" aria-labelledby="preferred-mascot-heading">
87125 <div id="preferred-mascot-heading">Preferred Mascot Version</div>
88126 <label for="radio-001">Chicago Zoey</label>
89127 <input id="radio-001" type="radio" name="prefMascot-Zoey" value="chicago zoey">
90- <label for="radio-002">Chicago Tom</label>
91- <input id="radio-002" type="radio" name="prefMascot-Tom" value="chicago zoey">
128+ <label for="radio-002">Office Hours Tomster</label>
129+ <input id="radio-002" type="radio" name="prefMascot-OfficeHoursTomster" value="office hours tomster">
130+ <label for="radio-003">A11y Zoey</label>
131+ <input id="radio-003" type="radio" name="prefMascot-Zoey" value="a11y zoey">
92132 </div>` ,
93133 `<div>
94134 <label for="radio-001">Chicago Zoey</label>
0 commit comments