Images·Base44
ImagesBase44

Add alt text to all images at onceBase44

Accessibility law (WCAG 2.1) and Google both require meaningful alt text on images. Doing it one-by-one is painful; bulk prompt does it in one pass.

rocket_launch

Fixing this in Base44

No-code + AI app builder

Base44 generates reusable blocks — many fixes are applied by regenerating the affected block with clearer instructions. Paste the prompt below into your Base44 chat and the fix rolls out across the project in one pass.

Using a different tool? Pick your stack:

The prompt for Base44

Copy and paste this into your Base44 chat exactly as-is.

In Base44, regenerate the affected blocks with these exact instructions:

Add alt text to all images

1. Add descriptive alt text to every <img> tag.
2. For decorative images use alt="" (empty string).

Why this matters

Most sites have 50-500 images scattered across components, blog posts, and product pages. Fixing alt one at a time is a week of work. Bulk-prompting an AI cuts it to an hour of review.

WCAG 2.1 level A compliance requires alt text on all informative images. This is a legal requirement in many jurisdictions (EAA, ADA).

How to use this prompt in Base44

  1. 1. Open your Base44 project.
  2. 2. Copy the prompt above with the copy button.
  3. 3. Paste into the Base44 chat and send.
  4. 4. Review the diff, accept the changes, redeploy.
  5. 5. Verify the fix using the checklist below.

Common mistakes to avoid

  • error_outlineAccepting every AI suggestion without review — AI sometimes hallucinates image content.
  • error_outlineUsing the filename as alt automatically.
  • error_outlineMissing `alt=""` on decorative images.

How to verify the fix worked

  • check_circle`document.querySelectorAll("img:not([alt])").length` === 0.
  • check_circleLighthouse Accessibility passes alt checks.
  • check_circleSpot-check 10 random images — alts are descriptive.

Frequently asked questions

Can AI write good alt text?expand_more
Often yes, but always review. Vision models describe images well but miss context (e.g., "why this image is here").
How long should alt be?expand_more
Under 125 characters. Describe meaning, not pixels.

Want all 34 prompts tailored to your Base44 site?

Pantra scans your site in 10 seconds, detects the stack, and generates the exact prompts that apply — only the ones you actually need.

Scan my site

Related Base44 prompts