Conformance
Empty meets WCAG 2.2 level AA when used as described on these pages.
Keyboard
The empty state takes no focus. Tab reaches its buttons and links.
What Empty gives you
- Title text 12.7:1 and description text 10.2:1 or more on the surface, in light and dark.
- Links in the description are underlined (D3).
What your team does
- Put a heading element inside
EmptyTitleat the right level when the empty state replaces a section of the page. - Mark the icon
aria-hidden="true"; the title says what it shows. - When a search or filter empties a list while people watch, announce the result (“No customers match “Lotus”“) in a live region, so screen reader users know it changed.
- Don’t move focus to the empty state.
WCAG criteria
| Criterion | Level | How |
|---|---|---|
| 1.1.1 Non-text Content | A | The icon is decorative |
| 1.4.3 Contrast (Minimum) | AA | Text at least 7:1 |
| 4.1.3 Status Messages | AA | Your team announces a list that becomes empty |