A skip to content link should skip to which landmark element on the page?

Question: A skip to content link should skip to which landmark element on the page?

  • nav
  • main
  • header
  • section

Explanation

A skip to content link should target main because that landmark contains the primary content of the page after repeated interface elements such as the header and navigation. HubSpot’s accessibility guidance recommends a skip link so keyboard and screen reader users can bypass repeated page regions and move directly to the main content. HubSpot also identifies main as a semantic landmark that helps assistive technology understand the major structure of the page. This makes main the correct destination for efficient page navigation rather than a repeated or supporting region. HubSpot Developers+1

Why the other options are incorrect

nav is a repeated navigation region, so sending a skip link there would not bypass the menu structure users are trying to avoid. HubSpot Developers+1

header is also a repeated page region and often contains branding or navigation, not the primary page content. HubSpot Developers+1

section is a semantic grouping element, but it is not the standard landmark used as the primary destination for a skip to content link. HubSpot Developers+1

Source for verification

https://developers.hubspot.com/docs/cms/best-practices/improve-existing-sites/accessibility

https://developers.hubspot.com/docs/cms/start-building/building-blocks/modules/menus-and-navigation

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.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top