Question: Which of the following is NOT a web accessibility best practice?
- Including a skip to content link
- Removing the outline from focused elements using CSS
- Using landmark elements
- Including labels for form inputs
Explanation
A visible :focus state is part of accessible keyboard navigation, because users need to know which interactive element is currently selected as they move through a page. HubSpot explicitly says the outline should only be disabled when an acceptable alternate visual indicator is provided. Without that visible cue, buttons, links, and form controls become harder to use for people navigating without a mouse. By contrast, skip links, semantic regions, and labeled inputs all support clearer structure and interaction for assistive technology and keyboard users. HubSpot Developers
Why the other options are incorrect
Skip to content link is a valid best practice because HubSpot recommends it to help keyboard and screen reader users bypass repeated page regions and move directly to the main content. HubSpot Developers
Landmark elements are a valid best practice because semantic regions such as header, main, and nav help assistive technology identify and jump between major sections of a page. HubSpot Developers
Form input labels are a valid best practice because HubSpot states that form elements need descriptive text so users understand the purpose of each control. HubSpot Developers
Source for verification
https://developers.hubspot.com/docs/cms/best-practices/improve-existing-sites/accessibility
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.
