-
Notifications
You must be signed in to change notification settings - Fork 22.9k
Description
MDN URL
https://developer.mozilla.org/en-US/docs/Web/HTML/Guides/Constraint_validation
What specific section or headline is this issue about?
Semantic input types
What information was incorrect, unhelpful, or incomplete?
The documentation currently states:
"For both of these input types [URL and email], if the multiple attribute is set, several values can be set..."
However, the HTML Standard only supports the multiple attribute on these input types: <input type="email"> and <input type="file">. It is not a valid attribute for <input type="url">.
What did you expect to see?
Update the text to clarify that the behavior regarding the multiple attribute and comma-separated lists applies only to the email input type, not the URL input type.
Do you have any supporting links, references, or citations?
There is an internal inconsistency in the MDN docs: the specific documentation page for <input type="url"> omits multiple from its list of attributes.
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/multiple
https://html.spec.whatwg.org/multipage/input.html#url-state-(type=url)
Do you have anything more you want to share?
No response