Website
What does Google read in your website photos?
Alt text, file names and real photos shape how Google and patients understand your practice website. Here is what actually gets read, and what HIPAA says about posting patient photos.

The short answer
Google reads the image's file name, alt text, captions and the surrounding page text, not the picture itself. For a practice, that means naming files clearly and writing alt text in plain language about the real person, room or treatment shown matters more than how sharp the photo looks.
Key takeaways
- Google doesn't see photos the way people do, it reads the alt text, file name and surrounding page text to work out what an image shows.
- Alt text exists first for people using screen readers, and that same description is also what helps Google understand the image.
- A patient's photo tied to their visit can count as protected health information under HIPAA, so get written authorization before it goes on your site.
What does Google actually read in a practice photo?

Google doesn't look at a photo the way a person does. It reads the page around the photo: the alt text, the file name, captions and nearby text, then combines that with computer vision and the rest of the page to guess what the image shows1. Using a styled background image instead of a real img element hides the photo from Google entirely, since Google does not index CSS background images1. The same logic applies to text baked into a graphic: if your phone number or hours only exist inside an image, treat that as invisible to Google, because the Search team's own guidance says to put key information in text, not graphics, whenever possible2. Google's documentation also ties images to page experience, noting that high-quality photos appeal to users more than blurry ones1. Neither page sets an exact file-size limit, but a heavy, unoptimized photo still slows the page down, which Core Web Vitals in plain terms covers in more detail.
How do you write alt text that works for patients and Google?
The W3C's accessibility guidance sorts images into a few categories: informative, decorative and functional3. A photo of your treatment room is informative and needs a real description. A thin decorative line between page sections gets a null alt attribute, alt="", so screen readers skip over it3. The official WCAG technique for alt attributes adds that the text has to convey the same meaning as the image, including any words that appear in it, not just describe what it looks like5. A few rules worth keeping in mind:
- Name the person, the room or the action, not a vague category like "healthcare"
- Put the most useful word first, since that's what a screen reader reads first4
- Skip filler words like "image of" or "photo of"4
- Use alt="" only for images with no informational value, and leave no space between the quotes so screen readers don't still announce it4
Which alt text pattern fits which type of photo?
Here is a quick reference for the photos most practice sites already have:
| Photo type | W3C category | Alt text example |
|---|---|---|
| Clinic exterior or reception | Informative3 | Reception area at Riverside Wellness Clinic in Austin |
| Practitioner headshot | Informative3 | Dr. Lena Osei, licensed acupuncturist, in the treatment room |
| Team photo | Informative, group3 | The six-person care team at Riverside Wellness Clinic |
| Treatment or procedure photo | Informative3 | Patient receiving a cupping treatment during a session |
| Practice logo | Functional, partly exempt4 | Riverside Wellness Clinic logo |
| Decorative divider or background pattern | Decorative3 | alt="" (empty, intentionally blank) |
| Patient testimonial photo | Informative, privacy-sensitive7 | Use only with written authorization; describe the setting, not medical details |
Why do real photos beat stock photos?
Google's own documentation says high-quality photos appeal to users more than blurry or unclear ones1, but quality is not only about resolution. A stock photo of a model in a white coat cannot accurately be described as "Dr. Patel examining a patient's shoulder," so the alt text either has to be vague or slightly misleading. Real photos let you write alt text, captions and structured data that are all true at once. Schema.org's ImageObject type, for instance, lets you attach a caption, a location and an author to an image6, which only makes sense when the photo is actually of your practice. This is the same argument made in practitioner bio pages that patients, Google and AI can verify: specific, checkable details build more trust than generic ones.
Stock photo
- Can't be accurately described as a real visit
- Alt text ends up vague or misleading
- No true location or author to list
Real photo
- Alt text, captions and structured data all stay true
- Schema.org ImageObject can add a caption, location and author6
- Specific, checkable details build more trust
Can you publish patient photos, and what does HIPAA require first?
The HIPAA Privacy Rule protects individually identifiable health information held by covered health care providers7. A photo of a patient taken during a visit, including a before-and-after shot or a testimonial photo, is protected health information once it can be tied to that person and their care. That means you need the patient's written authorization before the photo goes on your website, in an ad, or on social media, and the authorization should say exactly where it will appear and for how long. This is not legal advice: ask your compliance adviser or attorney to confirm the authorization wording for your state and your specific use. For more on handling these images once you have consent, see testimonials, before-and-afters and star ratings on a practice website.
Start with the five photos on your homepage and About page. Open each one, check whether the alt text actually names the person, room or action, swap in a real photo wherever you are using a stock image, and confirm you have signed authorization on file for any patient in the frame. If you want someone to check this alongside your other credibility signals, run the free credibility audit.
- Open each photoStart with the five photos on your homepage and about page.
- Check the alt textMake sure it names the real person, room or action shown.
- Swap in real photosReplace any stock image with a real photo of your practice.
- Confirm authorizationHave signed authorization on file for any patient shown in the photo.
Questions practice owners ask
Do I need alt text on every image?
Yes, for any image that conveys information or acts as a link. Purely decorative images, like a dividing line between sections, can use an empty alt attribute instead. Leaving alt text off entirely means screen reader users get no information about the photo, and Google has one less clue about what the image shows.
Does a large photo file size hurt my Google ranking?
Google's own documentation focuses on image quality rather than stating a byte limit, but it does say clear, high-quality photos appeal more to users than blurry ones. In practice, a slow-loading page affects other ranking signals, so compressing large photos before upload is still worth doing even without an official size rule.
Can I use stock photos on my practice website at all?
Nothing bans stock photos outright. The practical issue is that stock photos limit how specific and accurate your alt text and page content can be, and specificity is what helps Google and patients understand what a photo actually shows. A real photo of your office or team gives you more to describe accurately.
What if a patient wants their photo removed later?
Because a patient's photo tied to their care can count as protected health information, your authorization form should already explain how someone can revoke consent. Once consent is withdrawn, remove the photo from your site and any place you control, and check with your compliance adviser about next steps and timing for your state.
Sources, and how much weight each one carries
- Google, "Google image SEO best practices", updated March 2026.Google's own official developer documentation on how images are indexed; primary and authoritative for what Google reads in an image.
- Google, "Maintaining your website's SEO", updated December 2025.Google Search Central's official guidance on crawling, indexing and on-page content; authoritative primary source.
- W3C Web Accessibility Initiative (WAI), "Images Tutorial", updated April 2026.The standards body's own tutorial defining alt text categories; authoritative primary source behind WCAG practice.
- W3C Web Accessibility Initiative (WAI), "Images Tutorial: Tips and Tricks", updated July 2024.W3C's own supplementary guidance on writing concise, useful alt text; authoritative and specific.
- W3C, "H37: Using alt attributes on img elements", Techniques for WCAG 2.0, accessed October 2026.A formal W3C technique document for the WCAG 1.1.1 success criterion; authoritative though the page itself notes it is a legacy version.
- Schema.org, "ImageObject", accessed October 2026.The schema.org vocabulary's own reference page; authoritative for which structured data fields exist for images.
- U.S. Department of Health and Human Services, "The HIPAA Privacy Rule", updated March 2026.Official HHS Office for Civil Rights page; the primary regulatory source for what counts as protected health information.
This article is about marketing, website and compliance practice. It is not medical or legal advice, and nothing in it is intended to diagnose, treat, cure or prevent any disease. For a decision about your own practice, speak with a qualified attorney or the relevant regulator.



