Accessibility rule: Skip to main content link is missing, explained
Skip links provide users with a way to bypass repeated content on pages. Siteimprove checks, if a skip link is present.
Who is impacted by this barrier?
Without a way to bypass repeated content, such as the top menu, assistive technology users and keyboard users would need to navigate through the same repeated content on every single page. When the skip link is present, users are able to jump directly to the main content of the page. Read more about skip links and their impact on accessibility here.
How does the check work?
For the check to pass the skip link needs to be the first focusable element. Sometimes, there is a cookie banner as the first focusable element instead, which may throw the check off. In that case, you can contact support to configure the cookie banner to be bypassed by the crawler.
- This check accounts for skip links only. Technically, to pass the WCAG requirement of bypassing blocks, you can also use, for instance, a button element, which this check does not account for.
- Another valid WCAG technique, where "skip to main content" does not necessarily need to be the first focusable element is when there are multiple skip links to each section of the page.
While the before-mentioned cases pass WCAG as well, having a skip link as the first focusable element is the method used most to bypass repeated blocks of content. Therefore, this check is labeled as a best practice check.
How do I check if the skip to main content link is present?
If Siteimprove is not able to detect automatically if the skip to content link is the first focusable element, the system will flag this as a potential issue.
Take the following steps to validate, if the skip link is the first focusable element and works as intended:
- Go to the web page
- Click the tabulator key
- Is the first focusable element the skip to the main content link?
For example, the Siteimprove.com skip link looks like this:
- Click ‘Enter’ to activate the link
- Make sure the focus moves to the main content
Did you find it helpful?Send feedback