Company logo #
An accessible homepage link ensures users can quickly return to the main page from anywhere on the site. It supports seamless navigation for both screen reader and keyboard users.
The homepage link must fulfill the following requirements:
- The link has an accessible and descriptive label, such as “Home” or “Return to Homepage,” that clearly conveys its function.
- The link is easily accessible via keyboard and receives appropriate focus when navigated by screen reader users.
- The link to the homepage is consistently located in an expected area (typically the site logo or a navigation menu) to make it easy for screen reader users to find and use.
- The link is fully navigable and actionable using keyboard inputs (Tab, Enter).
- The link does not duplicate other links on the page with the same label unless they clearly lead to different destinations.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Accessible Logo Example</title>
</head>
<body>
<!-- Accessible logo with aria-label, alt text, and anchor for homepage -->
<header>
<!-- ARIA: Provides an accessible name for screen readers to describe the link -->
<a href="/" aria-label="Go to the Homepage">
<!-- ALT: Describes the image for users who cannot see it -->
<img src="logo.png" alt="Company Name Logo" width="150" height="auto">
</a>
</header>
</body>
</html>
Video Example of best practice – Screen Reader used – NVDA
Main menu #
Carousels #
Slideshow #
Making a slideshow accessible is essential to allow all users to fully access and interact with its content. An accessible slideshow applies these key practices:
- The slideshow has a descriptive label so users know it’s a slideshow.
- When the slide changes automatically, screen readers should announce the change (e.g., “Slide 2 of 5”).
- Users are able to easily pause the slideshow using keyboard navigation, and the controls (play/pause buttons) are accessible and clearly labeled.
- Automatic transitions do not interfere with the user’s navigation or reading. For example, the screen reader is not automatically interrupted when a slide changes.
- When users focus on a slide, the focus remains there without being hijacked by slide transitions or other elements.
- Arrows, indicators, and other navigation controls are accessible, focusable, and labeled (e.g., “Next slide” or “Previous slide”).
Screen reader: NVDA
Video:
Cookie consent dialog #
Cookie dialogues are essential for EU users as they ensure compliance with GDPR regulations, giving individuals control over their personal data and how it is processed online. These dialogues inform users of data collection practices, allowing them to make informed consent decisions.
An accessible cookie dialogue meets the following requirements:
- The cookie dialogue receives focus automatically when it appears, allowing screen reader users to engage with it immediately.
- All buttons within the dialogue (e.g., “Accept All Cookies,”, “Learn More”) have clear and concise labels that accurately describe their actions.
- Users are able to navigate through all elements of the dialogue using keyboard commands (Tab, Enter, Escape) without any obstacles.
- The dialogue provides clear instructions about what cookies are, why they are used, and how users can manage their preferences.
Screen reader: NVDA
Video:
Embedded videos, maps and etc. (3rd parties) #
Captcha #
Contemporary CAPTCHA solutions aim to reduce user interaction by implementing options like invisible CAPTCHAs, which analyze user behavior without direct input. For cases where interaction is necessary, accessible alternatives like audio CAPTCHAs and logical, easy-to-navigate challenges ensure that users with disabilities can still verify their identity effectively.
If a website uses a CAPTCHA that requires direct input, the following key features ensure its accessibility.
- An accessible alternative to visual CAPTCHA is provided, such as an audio CAPTCHA, for users who cannot see the image.
- Screen readers announce clear, concise instructions explaining how to complete the CAPTCHA challenge.
- The CAPTCHA field and controls are properly labeled.
- The CAPTCHA and its alternative options (e.g., “Listen to the audio challenge”) are fully navigable and operable using a keyboard.
- When a user interacts with the CAPTCHA, the keyboard focus remains logical, ensuring smooth navigation without disorientation.
- If a CAPTCHA is entered incorrectly, users receive immediate feedback that is announced clearly by the screen reader, explaining what went wrong and how to correct it.
- CAPTCHA challenges should avoid or extend time limits to accommodate users who may need more time to complete them, especially if they rely on audio or other accessible alternatives.
Screen reader: NVDA
Video: