Is there a mechanism to bypass blocks of repeated content?
2.4.1 Bypass Blocks
Introduction
This document provides information about the Acquia Web Governance accessibility check:
Is there a mechanism to bypass blocks of repeated content?
What
Users must be able to bypass blocks of content that are repeated on multiple web pages. This includes navigation menus, banners, and sidebars. This ensures that users, especially those who rely on assistive technologies, can reach the main content quickly.
Examples include:
Websites with a fixed header and navigation menu on every page.
Blogs with a sidebar that contains recent posts and categories.
E-commerce sites with filter menus on every product page.
Why
Users who navigate websites with screen readers, keyboards, or other assistive technologies might struggle with repeated blocks of content. If they cannot skip these sections, they must tab through every menu item or banner on each new page.
Bypass mechanisms improve accessibility as they:
Enhance usability for people who use screen readers, keyboard navigation, or other assistive tools.
Reduce cognitive load and provide a way for users to jump directly to the page content.
Improve efficiency for all users, especially those who rely on keyboard shortcuts.
Who
Affected users
This check affects the following users who have:
Blindness or are visually impaired: Who use screen readers to navigate pages.
Keyboard-only: Who tab through elements with a keyboard instead of a mouse.
Cognitive disabilities: Who benefit from structured navigation.
Examples
This section provides some pass and fail examples.
Pass examples
Skip link
A Skip to Main Content link is placed at the top of the page and is visible when focused.
For example, a page that forces users to navigate through the entire menu before they reach the content.
Hidden skip link that never becomes visible
For example, a skip link that exists but is always hidden with CSS, such as, display: none, without a focus state.
No landmark or heading structure
For example, a site with multiple repeated sections but no <main> element or ARIA landmarks.
How
This section provides information on how to review and fix the issue.
How to review it
When this check flags a page on your Web Governance scan, confirm that a method exists for users to bypass repeated content.
Ensure that the page provides a way for users to bypass repeated content. The check passes on the page if at least one of the following review checks is present and implemented correctly.
Review checks to consider
Does the document have an instrument to move the focus to non-repeated content?
Reload the page.
Press Tab once.
Look for a Skip to content link, or something similar.
Press Enter to activate it.
Make sure that the keyboard focus moves directly to the main content.
Continue tabbing to check that focus stays inside the main content area.
Passes if: There is a keyboard-accessible way to jump straight to the main content.
Are blocks of repeated content collapsible?
Identify repeated content such as navigation menus, sidebars, or filter panels.
Check if the block can be collapsed.
Confirm that:
There is a visible control, for example, a button.
The control works with keyboard only, such as with Tab + Enter/Space.
When you collapse the block, it is removed from keyboard navigation.
Passes if: Users can collapse the repeated content with the keyboard and reach the main content easily.
Does the document have a heading for non-repeated content?
Find where the main content starts.
Check that it begins with a real HTML heading such as <h1> through <h6>.
Use your browser DevTools if needed to confirm that it is a proper heading element and not text that is styled as a heading.
Passes if: The main content starts with a semantic HTML heading.
Does the document have a landmark with non-repeated content?
Locate the main content area.
Check in DevTools that it is inside of one of the following:
A <main> element
An element with role="main"
Make sure that this landmark contains the unique content, not repeated navigation or menus.
Passes if: The main content is inside a proper main landmark such as <main> or role="main".
If at least one of the four checks is present and implemented correctly on the page, you can mark this check as Reviewed.
Ensure that at least one of the review checks is implemented correctly for each failing issue in the HTML code of your website and then mark this check as Reviewed.
Is there a mechanism to bypass blocks of repeated content?
2.4.1 Bypass Blocks
Introduction
This document provides information about the Acquia Web Governance accessibility check:
Is there a mechanism to bypass blocks of repeated content?
What
Users must be able to bypass blocks of content that are repeated on multiple web pages. This includes navigation menus, banners, and sidebars. This ensures that users, especially those who rely on assistive technologies, can reach the main content quickly.
Examples include:
Websites with a fixed header and navigation menu on every page.
Blogs with a sidebar that contains recent posts and categories.
E-commerce sites with filter menus on every product page.
Why
Users who navigate websites with screen readers, keyboards, or other assistive technologies might struggle with repeated blocks of content. If they cannot skip these sections, they must tab through every menu item or banner on each new page.
Bypass mechanisms improve accessibility as they:
Enhance usability for people who use screen readers, keyboard navigation, or other assistive tools.
Reduce cognitive load and provide a way for users to jump directly to the page content.
Improve efficiency for all users, especially those who rely on keyboard shortcuts.
Who
Affected users
This check affects the following users who have:
Blindness or are visually impaired: Who use screen readers to navigate pages.
Keyboard-only: Who tab through elements with a keyboard instead of a mouse.
Cognitive disabilities: Who benefit from structured navigation.
Examples
This section provides some pass and fail examples.
Pass examples
Skip link
A Skip to Main Content link is placed at the top of the page and is visible when focused.
For example, a page that forces users to navigate through the entire menu before they reach the content.
Hidden skip link that never becomes visible
For example, a skip link that exists but is always hidden with CSS, such as, display: none, without a focus state.
No landmark or heading structure
For example, a site with multiple repeated sections but no <main> element or ARIA landmarks.
How
This section provides information on how to review and fix the issue.
How to review it
When this check flags a page on your Web Governance scan, confirm that a method exists for users to bypass repeated content.
Ensure that the page provides a way for users to bypass repeated content. The check passes on the page if at least one of the following review checks is present and implemented correctly.
Review checks to consider
Does the document have an instrument to move the focus to non-repeated content?
Reload the page.
Press Tab once.
Look for a Skip to content link, or something similar.
Press Enter to activate it.
Make sure that the keyboard focus moves directly to the main content.
Continue tabbing to check that focus stays inside the main content area.
Passes if: There is a keyboard-accessible way to jump straight to the main content.
Are blocks of repeated content collapsible?
Identify repeated content such as navigation menus, sidebars, or filter panels.
Check if the block can be collapsed.
Confirm that:
There is a visible control, for example, a button.
The control works with keyboard only, such as with Tab + Enter/Space.
When you collapse the block, it is removed from keyboard navigation.
Passes if: Users can collapse the repeated content with the keyboard and reach the main content easily.
Does the document have a heading for non-repeated content?
Find where the main content starts.
Check that it begins with a real HTML heading such as <h1> through <h6>.
Use your browser DevTools if needed to confirm that it is a proper heading element and not text that is styled as a heading.
Passes if: The main content starts with a semantic HTML heading.
Does the document have a landmark with non-repeated content?
Locate the main content area.
Check in DevTools that it is inside of one of the following:
A <main> element
An element with role="main"
Make sure that this landmark contains the unique content, not repeated navigation or menus.
Passes if: The main content is inside a proper main landmark such as <main> or role="main".
If at least one of the four checks is present and implemented correctly on the page, you can mark this check as Reviewed.
Ensure that at least one of the review checks is implemented correctly for each failing issue in the HTML code of your website and then mark this check as Reviewed.