Images
Alternative Text
When adding images to T4’s Media Library, type appropriate alternative text in the “Description / Alt text” text box. The text you type into that text box will be output as accessible alternative text for the image.

In some T4 content types, you may see a text box for Alternative Text. This is especially true for content types where an image is directly uploaded to the content type, instead of being selected from the Media Library. If you encounter such a text box, be sure to enter appropriate alternative text.
Sizing
Sizing image files correctly also helps to maximize accessibility. Image sizes are context-dependent. For the central UMB website, recommended dimensions can be found on the Content Types pages of the Website Manual, or in the descriptive text that accompanies each field in the content type itself. For other websites, please contact your site’s administrator.
To resize an image, one option is to use image editing software on your computer (such as the Photos app for Windows, or Preview for Mac) to resize the image file before you upload it to the T4 Media Library.
Another option is to use the Variants feature in the T4 Media Library. After uploading the original image file, navigate to it and click “Actions” > “Variants.” Enter an appropriate name in the “Name” text box, and enter alternative text for the “Description” text box. Under “Crop Type,” select “Resize.” Make sure the “Maintain aspect ratio” checkbox is checked. Type the necessary dimension into “W” (width) or “H” (height). Click “Save variant” to create the new resized variant, which will be now available for use in website content.


A large, high-resolution image can be resized to become smaller and lower-resolution. However, small, low-resolution images should never be resized to make them larger or higher-resolution. Also, web editors should never resize an image in such a way that distorts the image’s aspect ratio.