Hypertekt › Help › Writing content that works

Photos and alt text

How to describe a photo for people who can't see it, and which photos to upload so they look sharp, crop well and load quickly.

A good photo does a lot of your site’s work, as long as everyone can tell what it shows and it doesn’t slow the page down. Both of those come down to a few habits when you add a photo. The picture here shows Slow Blink, a made-up cat cafe.

Alt text

Every picture you add has Alt text: what the picture shows, in words. People who can’t see the picture hear the alt text read out, browsers show it if the picture doesn’t load, and search engines read it to understand the picture.

A photo field with a picture of Biscuit, a ginger tabby. The focus point is on Biscuit's nose. Choose another picture and Remove the picture are under the photo, and the Alt text is filled in.

Write alt text the way you would describe the picture to someone on the phone:

  • Say what’s in the picture, and what matters about it: A barista pouring a heart into a latte, not coffee.
  • Leave out “a picture of” and “image of”. Everyone already knows it’s a picture.
  • Never use the file’s name, like IMG_2041.jpg. A file name tells no one what the picture shows.
  • A sentence is plenty. Don’t stuff the alt text with searches you’d like to show up for.

Which photos to upload

Upload the best version of a photo you have. Pictures straight from a phone are fine, up to 25 MB each.

  • Big enough: a photo that fills the width of the screen needs to be about 2000 pixels across to look sharp on every screen. A photo that’s shown smaller, like a team member’s photo, can be smaller.
  • The right kind of file: JPEG for photos, PNG for screenshots and anything with sharp edges or a see-through background, and SVG for a logo, if your logo comes as an SVG file.
  • Room to crop: your site often crops photos to fit, like a square for a profile picture. Keep what matters near the middle, and drag the focus point onto it, so that part stays in view however the picture is cropped.

Hypertekt can make smaller copies of each photo for phones and computers, so visitors only download what their screen needs. Your developer sets that up for each place your site shows a photo.