autocomplete example's labels aren't associated with their inputs #2531
Labels
Content:HTML
issues related to HTML examples.
needs triage
Triage needed by staff and/or partners. Automatically applied when an issue is opened.
MDN URL
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete
What specific section or headline is this issue about?
Try it
What information was incorrect, unhelpful, or incomplete?
What did you expect to see?
I should be able to click each label to focus the associated input. This doesn't work (tested in Safari 16.4) because the
for
attribute of each label specifies a nonexistentid
. The form inputs each havename
attributes but don't haveid
attributes.Do you have any supporting links, references, or citations?
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label
Do you have anything more you want to share?
No response
MDN metadata
Page report details
en-us/web/html/attributes/autocomplete
The text was updated successfully, but these errors were encountered: