I am trying to link my label with my input field, and it is not passing the test
Your code so far
<ul class="answers-list">
<li>
<label for="question-1-option-1">
<input id="question-1-option-1" name="question-1-option-1" type="radio" />
</label>
</li>
<li>
<label for="question-1-option-2">
<input id="question-1-option-2" name="question-1-option-2" type="radio" />
</label>
</li>
</ul>
</fieldset>
</div>
<div class="question-block">
<p>2</p>
<fieldset class="question" name="html-question-two">
<legend>
A label element nesting an input element is required to have a
for attribute with the same value as the input's id
</legend>
<ul>
<li>
<label for="question-2-option-1">
<input id="question-2-option-1" name="question-2-option-1" type="radio" />
</label>
</li>
<li>
<label for="question-2-option-2">
<input id="question-2-option-2" name="question-2-option-2" type="radio" />
</label>
</li>
</ul>
I use Brave Browser Version 1.44.105 Chromium Version 106.0.5249.91
Challenge: Learn Accessibility by Building a Quiz - Step 30
Link to the challenge: