Skip to content
Every tutorial here is 100% free — and always will be
LSLovableStudent

How do I add alt text to images?

Last checked 31 Aug 2026

Short answer

Ask Lovable to add descriptive alt attributes to every meaningful image in your app — describe what the image actually shows or conveys, not just its filename.

Why alt text matters

Alt text (the alt attribute on an <img> tag) serves two purposes: it lets screen readers describe images to visually impaired users, and it gives search engines text to associate with an image that they otherwise can't "see". Missing alt text is a common, easy-to-fix accessibility and SEO gap.

How to add it

Go through the images on this page and add descriptive alt text to each one, describing what's actually shown — skip purely decorative images or mark them alt="".

Example:

<img src="/chair.jpg" alt="Handmade oak dining chair with a curved backrest" />

What makes good alt text

  • Describe the content and purpose of the image, not "image of..." or the filename.
  • Keep it concise — a sentence is usually enough.
  • For purely decorative images (background textures, spacers), use an empty alt="" so screen readers skip them rather than reading a meaningless description.
  • For images that are also links or buttons (an icon-only button, for example), describe the action, not the icon.

What usually goes wrong

  • Alt text left as the default filename (IMG_2931.jpg) or empty on every image — no SEO or accessibility benefit.
  • Keyword-stuffed alt text ("furniture chair wood oak dining room furniture melbourne") — this reads badly to screen reader users and can be seen as manipulative by search engines.
  • Decorative images given verbose alt text that clutters screen-reader output unnecessarily.

Checking coverage

Ask Lovable to audit the whole project:

List every image in the app that's missing alt text.

Sources

Was this answer helpful?

Related questions

Website made, maintained and hosted by PromptSites.com

PromptSites logo