Announcement
On this page
Keyboard navigation
A user should have the ability to interact with an announcement using their keyboard. Before focus is moved inside of an announcement, the Skip link element has focus first.
Key | Result |
---|---|
Tab | Moves focus left to right: skip link, call to action, and then close button (or right to left for RTL languages) |
Shift + Tab | Moves focus right to left: close button, call to action, and then skip link (or left to right for RTL languages) |
Enter |
|
Focus order
If a user is qualified, they will see an announcement when the page loads. By default, pressing Tab always displays the Skip link element (1) first. As a user continues to press Tab, the Skip link disappears and then focus moves from left to right within the announcement (2 - 3). When focus exits the announcement, it moves down to the universal navigation links (4).
Touch targets
Ensure interactive elements have adequate size and space for optimal touch targets.
ARIA Authoring Practices Guide (APG)
Learn to use the accessibility semantics defined by the Accessible Rich Internet Application (ARIA) specification to create accessible web experiences.
Web Content Accessibility Guidelines
Understanding documents provide detailed explanations for Web Content Accessibility Guidelines (WCAG) guidelines and success criteria.
-
SC 2.1.1 Keyboard (Level A)
-
SC 2.1.3 Keyboard (no exception) (Level AAA)
-
SC 2.4.3 Focus order (Level A)
-
SC 2.5.5 Target size (Level AAA)
Other libraries
To learn more about our other libraries, visit this page.
Feedback
To give feedback about anything on this page, contact us.
Other libraries
To learn more about our other libraries, visit the getting started page.