Learn Accessibility by Building a Quiz - Step 33

Tell us what’s happening:

  • True
  • False

2

A label element nesting an input element is required to have a for attribute with the same value as the input's id
  • True
  • False


**here’s my code i’m stuck with grouping the input buttons , please help**

Your browser information:

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

Challenge: Learn Accessibility by Building a Quiz - Step 33

Link to the challenge:

to group input buttons you must give them the same name attribute value.
This tells the browser that the only one button from the group can be selected.

create a label with a for attribute that matches the input elements ID. So i think question 2 is true.

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