Keyboard interactions
A user should have the ability to use the Tab key to navigate to a tile or into a tile group. When tiles are in a group, a user will need to use arrow keys to navigate from one tile to another. Pressing the Enter
/Return
key will activate a link tile or select a selectable tile.
Key | Result |
---|---|
Tab | Moves focus to a solo tile or the first tile in a group |
Shift + Tab | Moves focus to a previous solo tile or the last tile in a previous tile group |
Left Arrow | Moves focus to the previous tile and activates it (horizontal tabs) |
Right Arrow | Moves focus to the next tile and activates it (horizontal tabs) |
Up Arrow | Moves focus to the previous tile and activates it (vertical tabs) |
Arrow keys | Moves focus from one tile to another in a tile group |
Enter | Activates a link tile or selects a selectable tile |
Focus order
A logical focus order helps keyboard users operate our websites. Elements need to receive focus in an order that preserves meaning, therefore the focus order should make sense and not jump around randomly. In tile groups, focus moves from left to right and top to bottom.
Touch targets
The whole tile is selectable, and the required heading or image would make each tile a large enough touch target.
Additional guidelines
- Include alt text for a slotted image especially if it is wrapped in a link
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)
Related elements or patterns
Feedback
To give feedback about anything on this page, contact us.
Red Hat legal and privacy links
- About Red Hat
- Jobs
- Events
- Locations
- Contact Red Hat
- Red Hat Blog
- Diversity, equity, and inclusion
- Cool Stuff Store
- Red Hat Summit