Question: True or false? Part of making a form input accessible is including include a label for the input.
- True
- False
Explanation
Including a label is a core part of accessible form markup because it gives the input a clear, programmatically associated name for users and assistive technology. HubSpot’s accessibility guidance explicitly says form elements need labels so users can understand what information belongs in each field. HubSpot also warns against hiding labels with display: none, because that removes important descriptive text from the accessible experience. In HubSpot CMS work, placeholders are not a substitute for proper label elements because the field still needs persistent identification. HubSpot Developers
Why the other options are incorrect
B) False is incorrect because HubSpot explicitly states that form elements should have labels describing their purpose. HubSpot Developers
Source for verification
https://developers.hubspot.com/docs/cms/best-practices/improve-existing-sites/accessibility
https://developers.hubspot.com/docs/cms/start-building/features/forms/forms
The answer(s) to the question is highlighted in the BOLD text above. You can also find more questions and answers related to the exams on the "HubSpot CMS for Developers II" page.
