Visuals / Image

ClickUp Ticket


WCAG Description of Component

Images must have text alternatives that describe the information or function represented by them. This ensures that images can be used by people with various disabilities. This tutorial demonstrates how to provide appropriate text alternatives based on the purpose of the image:

Reference link

Functional Description


Reference Links


How to use this component


Component Example

Smoggy sunset of skyscrappers with pink overlay

Code Snippets

HTML

                
<img width="1168" height="780" class="img" alt="Smoggy sunset of skyscrappers with pink overlay" src="https://images.unsplash.com/photo-1520052205864-92d242b3a76b?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=2250&q=80">
            

CSS

                
.img {
    width: 100%;
    height: auto;
}
            

History Tracking

  1. Code orginally created by Kelly; Approved by Steen on Feb 5, 2024