epicweb-dev / web-forms

Learn the primary mechanism for interactivity on the web.
https://www.epicweb.dev/workshops/professional-web-forms
Other
199 stars 61 forks source link

Change "inside" to "above" in first accessibility lesson about labels #31

Closed kishba closed 9 months ago

kishba commented 9 months ago

I did a double-take when I read this sentence in the accessibility lesson. The <label> element itself is completely above the <input> element as a sibling in the DOM, so I think this edit helps. Alternatively, I think "clicking text inside the label" would clear up my confusion, too.