Image filenames and alt text: what are the simple rules?
Name the file for what's in it before uploading: furnace-installation-barrie.jpg, not IMG_4471.jpg. Write alt text that describes the image to someone who can't see it, in one plain sentence. Leave alt text empty only for pure decoration. That's it. Alt text is for people first; search engines read it second.
Two fields, thirty seconds each, skipped on most sites. Here’s how to do them without thinking too hard.
Image filenames
Rename before uploading, because it’s awkward after. Lowercase, hyphens, what the image shows: technician-servicing-portable-toilet.jpg, orillia-branch-exterior.jpg. Not the camera’s name, not “final-v2”, not a keyword list. The filename is a small signal about the image’s content and a large convenience when you’re looking for it later.
Alt text
Describe what’s in the picture as you would to someone on the phone. “A technician in a high-visibility vest pumping a portable toilet at a construction site.” Specific, factual, one sentence. If the image contains text (a sign, a chart), include the text. If the image is a logo, the alt is the company name.
Alt text for decorative images
Background textures, dividers, purely visual flourishes: leave alt empty. Screen readers then skip them, which is what their users want. Don’t write “decorative image”.
Image SEO mistakes
Stuff keywords: “furnace repair Barrie HVAC heating furnace”. Repeat the caption word for word. Write “image of” or “picture of”; the screen reader already announces it’s an image. Leave the default filename as the alt.
Why image filenames and alt text matter
Accessibility first: people using screen readers depend on it, and it’s a legal expectation in Ontario. Search second: image search is a real source of visits for trades and venues, and engines understand images through their text. AI assistants can’t see your photos at all; the alt text is the photo to them.
Where this leads