Do forms need to have visible labels?
It is best to ensure that all form inputs have a visible label. Visible labels help users understand the input's purpose. Placeholder text does not suffice and should not be considered as "good enough".
There are situations where a label for a form element can be hidden visually, given that there is still sufficient context about what the user should expect. For example, a search text input with a corresponding "Search" button, where "Search" is visible text in the button.
Free Tools to Continue Learning
Accessible Web RAMP
Monitor your website and manage your progress towards WCAG conformance.
Accessible Web Academy
Career specific courses to help power up your accessibility knowledge.