Relying only on placeholder text for form labels creates barriers. It disappears...
WebAIM @webaim@mastodon.social
Relying only on placeholder text for form labels creates barriers. It disappears as users type and may not be reliably announced by screen readers.
Persistent, programmatically associated labels (<label> elements) ensure users can always understand the purpose of each field. This is a fundamental step in creating accessible, usable forms for everyone.
Learn more about accessible form design: https://webaim.org/techniques/forms/