---
title: Image Expand
date: 2023-12-17T12:36:00-08:00
author: Zaida Jocson
canonical_url: "https://designsystem.umd.edu/components/image-expand"
section: Components
---
# Image Expand

The Image Expand is a highly visual component requiring high-quality assets. The component image expands to take over a user’s screen as messaging is scrolled through.
A large display of an image that expands to show messaging as the user scrolls
## Dos
- Use high-quality, high-resolution landscape images (horizontal)
- Be mindful of text placement and image focus. If the focus of the background photo is on the left, place text on the right.
## Don'ts
- Don’t use small images
- Avoid images with text or logos
## Variations

[View component playground: Image Expand](https://playground.designsystem.umd.edu/?path=/story/components-image-expand--text-block)

## Accessibility

### Built in accessibility

**Keyboard Accessible**
Users are able to use the keyboard to navigate through focusable content using the ‘Tab’ key to navigate/focus and ‘Enter’ or ‘Spacebar’ to activate.WCAG 2.1.1: Keyboard This navigation is done in sequential and logical order. WCAG 2.4.3: Focus Order

**Hover and Focus State**
Actionable items each have distinctive styling on hover/focus to provide a visual cue to the user that the element is focused and there is an action that can be taken. WCAG 1.4.13: Content on hover or focus

**Color Contrast**
A contrast ratio of at least 4:5:1 between text and background color is ensured to enhance readability. WCAG 1.4.3: Contrast (minimum)

**Responsive**
The component scales in relation to the to the screen size to prevent truncating content and reflows properly when zoomed up to 200% without horizontal scrolling WCAG 1.4.10: Reflow

**Consistent**
Styles are applied consistently including line height, font style, weight, spacing and color of text. WCAG 1.4.12: Text Spacing

### Requirements for use

**Image**
Provide effective alt text of the image that is concise and relevant. Avoid phrases like “image of” since screen readers often already announce the type of element. WCAG 1.1: Text AlternativesDo not use an image to present text. True text should be used whenever possible, as it supports translation, is searchable, and is easier to maintain and customize.  WCAG 1.4.5: Images of Text

**Title**
Use a clear and concise title that describes the card content WCAG 2.4.6: Headings and Labels

**Link**
Use effective text to describe what the link is and where it is taking the user. This should be clear, descriptive text that conveys the link content succinctly and the purpose and destination of the link. WCAG 2.4.9: Link Purpose (Link Only)Example of effective text (preferred): Learn more about Innovate Maryland Example of generic text (avoid): Learn moreDisclaimer: If the visible link text is not sufficiently descriptive, you can use an aria-label attribute to provide additional context for screen reader users. The aria-label should clearly describe the link's purpose and destination.If the visible text is not necessary for screen readers (e.g., it's redundant or less descriptive), consider using aria-hidden="true" on the visible text element. This ensures that screen readers will prioritize the aria-label.Example with aria-label and aria-hidden:<a href="https://example.com/innovate-maryland" aria-label="Learn more about Innovate Maryland"> 
  <span aria-hidden="true">Learn more</span> 
</a> This ensures that the link is accessible while maintaining concise visible text.

## Content

Recommended character limits
| Title | 20 characters (40 max) | 
| Text block | 250 characters (300 max) | 
| Quote | 200 characters (400 max) | 
| Person name and class | 24 characters (50 max) | 
| Title, college, or school | 24 characters (50max) | 
| CTA | 12 characters (25 max) | 
Recommended image dimensions
| Background image | 1600px × 800px* | 
## Layout

[View Figma design: Image Expand Quote](https://www.figma.com/design/YqgNlOMETaJbcI67sv8HUp/Downloadable-Components-File?node-id=185-69114&t=zx2miCljfkfHR3k5-1)

## Related

