Card
Card, LinkCard, and InteractableCard are visually distinct containers that group information about a single subject. Use LinkCard for navigation and InteractableCard for actions or selection.
Also known as: Tile
| Salt package | @salt-ds/core |
|---|---|
| Available since | 1.1.0 |
- Give each
LinkCardandInteractableCarda concise accessible name through its visible content. If the visible content doesn't provide a suitable name, usearia-labeloraria-labelledby. - Give each
InteractableCardGroupan accessible name witharia-labeloraria-labelledby. Usearia-describedbyto provide additional selection instructions. - Use
InteractableCardGroupwhen users select one or more cards from a related set. It applies the appropriate radio or checkbox semantics and keyboard interactions.
| Key | Function |
|---|---|
| Tab |
|
| Shift + Tab |
|
| Space |
|
| Enter |
|
| Right arrow / Down arrow |
|
| Left arrow / Up arrow |
|