Patterns 6 patterns
Accessibility
Patterns for building interfaces that work for everyone, including users with disabilities and those using assistive technologies. These patterns help you support keyboard and screen reader users, and respect preferences like reduced motion, from the first version of your interface instead of fixing it later. Informed by Accessibility as a Foundation.
- Accessible Forms Forms with proper labels and announced error messages, so screen reader users and keyboard users can fill them in too.
- ARIA Roles and Attributes ARIA roles and attributes give assistive technologies the information they need about custom widgets when HTML elements can't describe them.
- Focus Management Moving keyboard focus to the right place when the UI changes, such as when a modal dialog opens or the route changes.
- Focus Trap A focus trap keeps keyboard focus inside a modal dialog or overlay, so pressing Tab can't move focus to the page behind it.
- Keyboard Navigation Keyboard navigation lets people who can't or don't use a mouse or other pointing device operate your whole interface with the keyboard.
- Live Regions ARIA live regions let screen readers announce content that changes on the page, without moving the user's focus.