Images, alt text, and speed

An image is content and weight. Without alt text, Google and a screen reader do not know what is in it. Without dimensions the page jumps. With a file that is too large, the visitor waits.

Three properties on every image

alt describes what is visible, it does not stuff keywords. A decorative image can have empty alt so a screen reader skips it. A service image needs a sentence: what it is, not “website website website”.

width and height reserve space before the file arrives, which prevents a jump. A one-megabyte logo displayed at 48 pixels slows the load without adding sharpness the eye can see.

An image that hurts versus one that is fine
HurtsFine
WeightA megabyte for a small markA file the size of the display
DimensionsNo width or heightDimensions reserved in HTML
altA keyword listA description of the picture
FormatA huge PNG for a photoA compressed file that fits the image type