Add the following aria-labelledby
attributes to the section
elements:
student-info
html-questions
css-questions
You should nest one h2
element within the first section
element.
I am not sure why it is saying that because I made h2 elements.
<form method="post" action="https://freecodecamp.org/practice-project/accessibility-quiz">
<section role="region" aria-labelledby='student-info'
<h2 id='student-info'>student-info</h2>
</section>
<section role="region" aria-labelledby='html-questions'
<h2 id='html-questions'>html-questions</h2>
</section>
<section role="region" aria-labelledby='css-questions'
<h2 id='css-questions'>css-questions</h2>
</section>
</form>