Use <p> instead of <ul> for form sections #35917
Labels
Content:Learn:Forms
Learning area Forms docs
good first issue
A good issue for newcomers to get started with.
MDN URL
https://developer.mozilla.org/en-US/docs/Learn/Forms/Your_first_form
What specific section or headline is this issue about?
The
<label>
,<input>
, and<textarea>
elementsWhat information was incorrect, unhelpful, or incomplete?
The HTML snippet for using the first form doesn't make use of modern HTML form tags.
What did you expect to see?
Instead of organizing the form as an unordered list, I expected to see some use of things like fieldset, legend, optgroup, et cetera.
Previous education has led me to understand that forms are not unordered lists, and there are semantic/accessibility issues with the current tutorial.
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
No response
MDN metadata
Page report details
en-us/learn/forms/your_first_form
The text was updated successfully, but these errors were encountered: