#24 A placeholder is not a label

from blog HTMHell, | ↗ original
↗ original
Bad code input type="text" placeholder="First name"> Issues and how to fix them Every form input element needs a label. When screen reader users access a form field, the label is announced with the field type (e.g. first name, edit text). If it’s missing, users might not know what they’re supposed to fill in (e.g. edit text). Some screen readers...