Cards

Preview articles, topics, and events in a visual way

Usage

Usability Guidance

  • Use plain language when writing headlines and descriptions.
  • Avoid technical language, acronyms or jargon people don’t understand.
  • Front-load the first 2 words of your headlines for easy eye scanning.
  • Limit descriptions below headlines to one sentence or 2-3 lines.
  • Use original images rather than stock images to maintain credibility and trust among your users.

Further Reading

Accessibility Requirements

  • Link the card’s headline, heading or title to provide the most succinct description to screen readers and search engines. Both technologies use links to understand and navigate document structure.
  • Wrap your link around the image too if you decide to include one.
  • Only use one link per card.
  • Write alt text for any images you include.
  • Avoid linking from buttons with generic labels like “read more” or “view details”. Screen readers cannot differentiate card topics with the same link text.

Basic Card

Do’s and Don’ts

Do’s

  • Do adjust the container color of the card to grey-05 if it’s being used on a white background.

Don’ts

  • Don’t adjust the container color to a color other than white or grey-05.
  • Don’t use primary or secondary buttons in cards.

Anatomy

Basic Card Anatomy Image
  1. Image (optional)
  2. Title (required)
  3. Supporting text (optional)
  4. Buttons (optional)
  5. Container (required)

Specs

Basic Card Specs Image

Code

Use the <article> element to denote your card as a standalone element within the body of your page.

<article>
  <a>
    <img>
    <h3>Heading</h3>
  </a>
  <p>Description</p>
</article>

Event Card

Anatomy

Event Card Anatomy Image
  1. Date (required)
  2. Image (required)
  3. Title (required)
  4. Time and Location (required)
  5. Description (optional)
  6. Container (required)

Specs

Event Card Specs Image

Code

Use the <article> element to denote your card as a standalone element within the body of your page.

<article>
  <a>
    <span aria-hidden="true">...</span>
    <img>
    <h3>Heading</h3>
  </a>
  <date>Date<br>Time</date>
  <span>Location</span>
  <p>Description</p>
</article>

Featured Story Card

Do’s and Don’ts

Do’s

  • Only use one Featured Card per section.

Don’ts

  • Don’t stack multiple Featured Cards in one section.

Anatomy

Featured Story Card Anatomy Image
  1. Title (required)
  2. Supporting text (optional)
  3. Source (optional)
  4. Text Container (required)
  5. Image (optional)
  6. Background (required)

Specs

Featured Story Card Specs Image

Code

Use the <article> element to denote your card as a standalone element within the body of your page.

<article>
  <img>
  <h3><a>Heading</a></h3>
  <p>Date<br>Time</p>
  <span>Source: <cite><a>Name of Source</a></cite></span>
</article>

Story Card

Anatomy

Story Card Anatomy Image
  1. Image (optional)
  2. Title (required)
  3. Supporting text (optional)
  4. Source (optional)
  5. Background (required)

Specs

Story Card Specs Image

Code

Use the <article> element to denote your card as a standalone element within the body of your page.

<article>
  <a>
    <img>
    <h3>Heading</h3>
  </a>
  <p>Description</p>
  <span>Source: <cite><a>Name of Source</a></cite></span>
</article>

Person Card

Anatomy

Person Card Anatomy Image
  1. Image (optional)
  2. Title (required)
  3. Supporting text (optional)
  4. Source (optional)
  5. Background (required)

Specs

Person Card Specs Image

Code

Use the <article> element to denote your card as a standalone element within the body of your page.

<article>
  <img>
  <h3><a>Name</a></h3>
  <span>Title, Department</span>
  <p>Description</p>
</article>