Learn Accessibility by Building a Quiz - Step 29

Tell us what’s happening:

I have all the elements the console is telling me it’s missing, can someone read over this and double check?

Your code so far

<!-- file: index.html -->
<!-- User Editable Region -->

              <ul class="answers-list">
                <li></li>
                <li></li>
              </ul>
            </fieldset>
          </div>
          <div class="question-block">
            <h3><span class="sr-only">Question</span>2</h3>
            <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 class="answers-list">
                <li>
                  <label>
                    <input type="radio"/>
                    <input type="radio"/>
                  </label>
                </li>
                <li>
                  <label>
                    <input type="radio"/>
                    <input type="radio"/>
                  </label>
                </li>
              </ul>

<!-- User Editable Region -->
/* file: styles.css */

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36

Challenge Information:

Learn Accessibility by Building a Quiz - Step 29

Hey mate,

reset the task and try again. Why you have at the second unordered list four radio inputs? Your task is to add in each list element a input with a type of radio and wrap each of them in a label. You wrapped the inputs correctly but the first unordered list is not touched at all.

2 Likes

That was it, thank you!

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.