Conformance
Card meets WCAG 2.2 level AA when used as described on these pages.
Keyboard
A card is not interactive. Focus moves through the buttons and links inside it in the order they appear.
What Card gives you
- Title text at least 7:1 and description text at least 7:1 on
color.surface(D4). - No role of its own, so it adds nothing extra for screen readers to read.
What your team does
- Put a heading element (
h2,h3) insideCardTitlewhen people navigate by headings, at the right level for the page. - When a page shows a list of cards, put them in a list (
ul,li) so screen readers say how many there are. - Name icon buttons in
CardActionwith the card’s subject: “More actions for Online store to ERP”, not “More”. - Don’t make the whole card one click target if it also holds buttons; use a link on the title instead.
WCAG criteria
| Criterion | Level | How |
|---|---|---|
| 1.3.1 Info and Relationships | A | Headings and lists in your markup |
| 1.4.3 Contrast (Minimum) | AA | Title and description at least 7:1 |
| 2.4.6 Headings and Labels | AA | The title names the card’s subject |
| 4.1.2 Name, Role, Value | A | Buttons inside carry their own names |