What Is Alt Text, and Why Does It Matter for SEO and Accessibility?

Alt text (alternative text) is a short written description attached to an image on a webpage, invisible in normal browsing but read aloud by screen readers and shown if the image fails to load. It’s one of the simplest website details to get right, and one of the most commonly skipped.

Why Alt Text Exists

  • Accessibility — visitors using screen readers (often due to visual impairment) rely on alt text to understand what an image shows, since they can’t see it directly
  • Fallback display — if an image fails to load (slow connection, broken link), the alt text shows in its place instead of a blank box
  • Search engine understanding — as part of basic SEO, search engines can’t “see” an image the way a human does; alt text is one of the main signals telling them what it depicts

What Makes Good Alt Text

  • Describe what the image actually shows, specifically — “team installing server rack hardware” beats a vague “photo” or an empty tag
  • Keep it concise — a clear sentence, not a paragraph
  • Don’t keyword-stuff it — repeating your target keyword five times in alt text reads as spam to both screen reader users and search engines, and helps neither
  • Skip it only for purely decorative images — a background pattern with no informational content doesn’t need alt text describing it

Common Mistakes

  • Leaving alt text blank on every image, which is the most common oversight
  • Writing generic, unhelpful text like “image1” or “photo” that describes nothing
  • Describing what you wish the image showed rather than what it actually shows

How to Check and Fix It in WordPress

When uploading or editing any image in the WordPress media library or block editor, there’s a dedicated “Alt Text” field separate from the caption or title. Filling it in takes seconds per image — the habit matters more than any single instance.

Bottom Line

Alt text is a small detail that genuinely helps real people using screen readers, protects your content when images fail to load, and gives search engines useful context about your page. It costs almost nothing to do right and is easy to simply forget — worth building into your habit every time you add an image.

กำลังเลือกโฮสติ้งสำหรับเว็บแรก? อ่านรีวิว Hostinger ทั้งจุดเด่นและข้อจำกัดก่อนตัดสินใจ
อ่านรีวิว →

บทความล่าสุด