Key takeaways
- Write alt text that describes what the image shows in context; leave decorative images with an empty alt, and never stuff keywords.
- Use descriptive file names, size images to how they display, and serve WebP or AVIF with a fallback in the src attribute.
- Use real img elements (Google doesn't index CSS background images), set width and height, and don't lazy-load the hero image.
Alt text checks for SEO and accessibility
0 of 6
- Google uses alt text, together with the page and computer vision, to understand an image, and screen reader users hear it instead of seeing the image.
- An empty alt tells screen readers to skip the image. A missing alt makes some of them read out the file name.
- Google treats filling alt attributes with keywords as keyword stuffing, which can make a page look spammy.
- The alt text becomes the link's name. "BeLocal home" helps; "logo" does not.
- Text in an image can't be resized, translated or read by search engines reliably. WCAG 1.4.5 asks for real text where possible.
- Screen readers already announce that it is an image, so the words add length without meaning.
Image SEO checks for files and formats
0 of 5
- Google says a file name can give it clues about the image's subject, and recommends names that are short but descriptive.
- All of these are formats Google can index, and modern formats are usually far smaller than JPEG or PNG at the same quality.
- Google asks that the extension matches the format, which matters when a CMS converts files on upload.
- Images are often the largest part of a page's weight. A 4,000 pixel photo shown 800 pixels wide wastes most of its bytes.
- Some browsers and crawlers don't support srcset or picture, so Google recommends a src fallback.
Want to know how your images and pages rank today? Ask BeLocal for a free ranking report.
Book a callImage SEO checks on the page
0 of 5
- Google finds images in the src of img elements and doesn't index CSS images.
- Google uses the surrounding text and the page title to understand what the image is about.
- Reserved space stops the layout jumping as images load, which protects your Cumulative Layout Shift score.
- Lazy-loading the main image delays Largest Contentful Paint, the Core Web Vital for loading speed.
- Google may use it as the page's thumbnail in results, so pick one that represents the page.
Image SEO checks for discovery
0 of 4
- Image sitemaps help Google find images it might otherwise miss, including ones hosted on another domain.
- A blocked folder means Google can't fetch the image, so it can't show it in Images or use it in results.
- Google says the image property is required for a page to be eligible for rich results in Google Images.
- It shows which images earn impressions and clicks, so you know where better alt text or files would pay off.
What image SEO does for a business site
Image SEO is making your images easy for search engines to find and understand, and quick for people to load. It pays off three ways: your photos can appear in Google Images and in image-heavy results, your pages rank better because they load faster, and the same alt text that helps Google makes your site usable for people who rely on screen readers.
For most Canadian businesses the biggest win isn't traffic from Google Images. It is speed and clarity on the pages that already matter: the service page with a 6 MB hero photo, the gallery that shifts as it loads, the project photos with no alt text that could have told Google where and what the work was.
How to write alt text that works
Alt text is the short description in an image's alt attribute. Ask one question: if the image didn't load, what would someone need to know? Describe that, in the context of the page, in a sentence or less.
| Image | Weak alt text | Better alt text |
|---|---|---|
| A finished roof on a roofing company's project page | roofing roofer roof Ottawa best roofer | New charcoal asphalt shingle roof on a two-storey house in Orleans |
| A dentist's team photo on the About page | image | Dr. Patel and the hygiene team at the front desk of the clinic |
| A restaurant's dish on its menu page | food.jpg | Butter chicken with basmati rice and naan |
| A decorative wave divider | wave graphic | (empty alt, because it carries no meaning) |
| A chart of monthly leads | chart | Leads rose from 12 in January to 41 in June after the new site launched |
Alt text is also an accessibility requirement
WCAG success criterion 1.1.1 requires a text alternative for every meaningful image, and Ontario's AODA website rule and the federal Accessible Canada Act both build on WCAG. Writing alt text once serves your SEO and your accessibility duties together.
Image formats and file size
| Format | Use it for | Notes |
|---|---|---|
| WebP | Photos and most images | Widely supported and much smaller than JPEG at similar quality |
| AVIF | Photos where every kilobyte counts | Often smaller still; check your CMS and CDN support it |
| JPEG | Fallback for old tools | Fine as a source file; convert before publishing |
| PNG | Screenshots, images needing sharp edges or transparency | Large for photos |
| SVG | Logos, icons, simple illustrations | Scales to any size; keep the file clean |
Try the free tool
PNG to WebP converterConvert JPEG and PNG files to WebP in your browser before you upload them.
Size matters as much as format. Resize each image to the largest width it actually displays at (often 1,600 to 2,000 pixels for a full-width hero, much less for a card), then compress. Most CMSes, including WordPress, can generate smaller sizes and srcset automatically once the original is sensible.
Images and Core Web Vitals
Images touch two of the three Core Web Vitals. Largest Contentful Paint is often the hero image, so it should be small, served from your own domain or a fast CDN, and never lazy-loaded. Cumulative Layout Shift jumps when images load without reserved space, so every image needs width and height or an aspect ratio. Google's thresholds for a good experience are an LCP within 2.5 seconds and a CLS under 0.1.
The Core Web Vitals guide covers the third metric and how to measure all three. For a full pass over titles, links and technical health as well as images, use the SEO checklist.
BeLocal's free ranking report shows where your pages stand and which fixes, images included, would move them.
Book a callFixing images on an existing site
- Find the heavy pages
Run your top ten pages through PageSpeed Insights and note any image flagged as oversized or as the LCP element.
- Fix the templates first
Hero, gallery and card components repeat on many pages, so fixing their sizes and loading once fixes them everywhere.
- Replace the worst files
Re-export oversized images at display size in WebP, and rename them descriptively as you go.
- Fill in alt text
Work through the media library from the most-viewed pages down. Mark decorative images with an empty alt.
- Set a rule for new uploads
A maximum width, WebP, a real file name and alt text before publishing keeps the problem from coming back.
Photos that help local search
Original photos of your real work, team and premises do more than stock images ever can. They are unique, so they are worth indexing; they show customers exactly what they will get; and the alt text can honestly name the service and the neighbourhood. A contractor's project gallery with "Interlock patio with granite steps in Kanata" under each photo is quietly doing local SEO work.
Use the same photos on your Google Business Profile. Recent photos in Business Profile posts keep your listing current, and Google's photo guidelines are simple: JPG or PNG files between 10 KB and 5 MB.
Image SEO and alt text questions
Does alt text help SEO?
Yes. Google says it uses alt text, along with computer vision and the page's content, to understand images. It also makes the image's subject part of the page's text, which helps the page as a whole.
How long should alt text be?
There is no official limit. Aim for a sentence or less that gives the information the image carries. A chart may need more, either in the alt or in nearby text.
Should every image have alt text?
Every img element should have an alt attribute, but decorative images should have an empty one (alt=""). That tells screen readers to skip them, which is better than describing a background swirl.
Does geotagging photos help local SEO?
Google's image documentation talks about metadata for credits and licensing, not location. Spend the time on descriptive alt text, file names and the text around the photo, which it does name as signals.
Sources
- Google image SEO best practices Google Search Central
- An alt decision tree W3C Web Accessibility Initiative
- Image sitemaps Google Search Central
- Understanding Core Web Vitals and Google search results Google Search Central
- Understanding Success Criterion 1.1.1: Non-text Content W3C Web Accessibility Initiative
- Photo and video guidelines for your Business Profile Google Business Profile Help