Select your language
Select other languages

Automatic translation

Loading translator…

Magoomake your components work correctlyBack to homepage

Cards

Group content about a subject with clear hierarchy and distinctions between information, navigation, and actions.

For working examples and design patterns for this component, see the references tab (opens the references on this page).

COMPONENT GUIDE

Explore behaviors before defining the interface.

Quick guide for designers

When to use

Use to present related content units in a collection. Consider a table when the task requires column-based comparison.

What to design

Show a title, summary, image when needed, and actions. Distinguish informational cards, the primary destination, and independent actions.

How it behaves

Static content is read; links navigate and buttons perform actions. The actionable area must be predictable.

What to document in Figma

Define hierarchy, the actionable area, reading order, image alternatives, and long title handling.

How to review

Check variants and small screens in the design. In the implementation, verify semantics, focus, names, and independent activation of each control.

Content and purpose

Actionable area and controls

Content adaptation

Interaction Methods

Mouse and touch

Links and buttons have identifiable actionable areas. Activating a secondary action must not also open the card’s primary destination.

Keyboard

Static cards do not receive focus merely because they have a border or emphasis. Tab traverses links and buttons in content order.

Enter opens the focused link; Enter or Space executes the focused button’s action. Activating a secondary button does not also open the card’s primary destination.

Screen readers

Screen reader reading and heading or link navigation commands traverse the collection and identify each card’s subject and destination.

With a mobile screen reader, swiping traverses content and controls in standard mode; double tapping activates the focused link or button. Toggling Favorite makes its new state perceivable.

Gherkin

BDD (Behavior-Driven Development) methodology focusing on three pillars: User Stories, Acceptance Criteria, and Gherkin Syntax (Given, When, Then).

Scenario: Given that I am on a page containing Cards

Educational scenarios for reviewing behavior. Adapt them to context and execute them in the implementation; the presence of this text does not mean tests were performed.

Keyboard navigation

Screen reader on desktop

Screen reader on mobile devices

Additional scenarios — editorial extension

Informational card

Primary destination and secondary action

Long title and small screen

Identify destinations

Points to consider

A card is a visual composition without a universal ARIA card role. Choose elements according to the content and controls’ functions.

Do not replace tabular data with cards if it prevents comparison of important row and column relationships.

USWDS presents actionable cards; this guide’s informational variant is an editorial extension. Appearance must not promise nonexistent interaction.

Implementation notes and behavior decisions

Enter activates links; Enter and Space activate buttons. A container with a click handler does not replace a semantic control.

Use headings and grouping appropriate to the content. Informative images need useful alternatives; decorative images must not unnecessarily repeat the title.

Verify link and button names and mobile exploration order. When an action toggles a state, that state must be available beyond appearance.

References

Additional references for components of type Cards.

Important:
Most references are on the course platform alongside the lessons cited in this material.

Disclaimer:
The links listed here are a curated collection of references where you can find implemented components, rather than recommendations. There is no unified implementation format and no guarantee that these links follow every design pattern. Direct questions to the teams responsible for the linked materials. Before copying a model, remember that all materials are constantly updated and that patterns, particularly proprietary ones, may change.

Technical references and examples consulted for this editorial adaptation. Each source retains its scope; consulting an example does not prove accessibility of another implementation.

USWDS — Card (external link, opens in a new tab)

W3C WAI — Page structure (external link, opens in a new tab)

Original content by Marcelo Sales, initially used in the AccessBoost course (external link - opens in a new window). These interactions represent standard industry patterns, but may be customized in specific cases, provided there are sufficient instructions for people to understand the behavioral change.