Optimizing for Accessibility: Alt Text, Videos, Images & More – Moz


Accessibility optimization is not the digital equivalent of eating your vegetables while everyone else gets pizza. It is practical, profitable, humane, and, when done well, very good for SEO. Search engines want to understand your content. People want to use your content. Accessibility is where those two goals shake hands like responsible adults.

When marketers talk about accessibility, alt text usually gets pushed to the front of the line. That makes sense: alternative text is small, visible in code, and easy to audit. But accessible media goes much further than image descriptions. It includes captions, transcripts, audio descriptions, descriptive filenames, readable contrast, keyboard-friendly media players, meaningful links, responsive images, and page layouts that do not behave like a haunted house on mobile.

This guide explains how to optimize alt text, videos, images, and other media in a way that supports users, strengthens search visibility, and creates a cleaner web experience. Think of it as technical SEO with better manners.

Why Accessibility and SEO Belong in the Same Room

Accessibility and SEO are often treated as separate departments. One belongs to compliance, the other belongs to marketing. In reality, they share a surprising amount of DNA. Both care about clear structure, useful text, logical navigation, fast-loading pages, and content that machines can understand without needing psychic powers.

Search engines cannot “experience” a page the way a human does. They rely on HTML, surrounding text, structured data, links, headings, filenames, captions, and alt attributes to understand what a page is about. Assistive technologies, such as screen readers, also rely on semantic information to help users navigate and understand the page. When your site gives better signals, both users and search engines benefit.

Accessibility also improves user experience. A captioned video helps deaf and hard-of-hearing visitors, but it also helps someone watching silently on a train. Alt text helps screen reader users, but it also appears when images fail to load. Clear headings help people using assistive technology, but they also help impatient readers who skim before committing. In other words, accessibility features are often just good design wearing sensible shoes.

What Alt Text Really Does

Alt text, short for alternative text, is the written description attached to an image through the HTML alt attribute. Its main job is to communicate the meaning or function of an image when the image cannot be seen or loaded.

A basic example looks like this:

Good alt text answers one simple question: “What does the user need to know from this image in this context?” That last phrase matters. Context changes everything. A photo of a red running shoe on an ecommerce page needs product details. The same shoe in a blog post about marathon training might need to describe its use, not every stitch and lace hole.

Bad Alt Text vs. Better Alt Text

Bad alt text is usually too vague, too stuffed with keywords, or completely missing. For example:

Better alt text is specific, natural, and relevant:

The goal is not to write a tiny novel. The goal is to give the right information at the right moment. If your alt text sounds like it was written by a robot trapped inside an SEO spreadsheet, rewrite it.

How to Write Alt Text for Accessibility and SEO

Alt text works best when accessibility leads and SEO follows politely behind. Search engines can benefit from descriptive alt text, but keyword stuffing creates a poor user experience and can make your page look spammy. A good rule: describe the image first, include a keyword only if it naturally belongs there, and never make a screen reader user sit through a keyword casserole.

1. Describe the Purpose, Not Just the Pixels

Ask why the image is on the page. If it supports a product, mention the product. If it explains a concept, summarize the concept. If it creates emotion, capture the emotion when relevant. A photo of a person smiling at a laptop might be generic on a stock image site, but on a remote-work article it may support the idea of flexible work.

Example:

2. Keep It Concise

Most alt text should be a short phrase or sentence. If an image needs a long explanation, such as a chart, infographic, map, or technical diagram, use short alt text plus a longer description nearby on the page. This keeps the screen reader experience clean while still making complex information available.

Example for a chart:

3. Skip “Image of” and “Picture of”

Screen readers often announce that an item is an image. Writing “image of” can create a repetitive experience, like saying “ATM machine” or “free gift.” Usually, jump straight into the description.

4. Use Empty Alt Text for Decorative Images

Not every image needs descriptive alt text. If an image is purely decorative, such as a border, divider, flourish, or background texture, use an empty alt attribute:

This tells assistive technology to skip the image. That is not laziness; it is mercy. Nobody wants a screen reader to announce “blue swirl divider” twelve times before lunch.

5. Match the Function of Linked Images

If an image is also a link or button, the alt text should describe the function, not merely the appearance. A shopping cart icon should not say “cart icon” if it takes users to checkout. It should say something like “View shopping cart.”

Example:

Image SEO Beyond Alt Text

Alt text is important, but it is not the entire image SEO toolbox. If your images are enormous, randomly named, poorly placed, and slower than a Monday morning printer, alt text alone will not save them.

Use Descriptive File Names

Before uploading an image, rename it in plain language. A file named blue-ceramic-coffee-mug.jpg is more useful than IMG_8842_final_FINAL_reallyfinal.jpg. Descriptive filenames provide another contextual clue for search engines and help your media library stay organized.

Place Images Near Relevant Text

Search engines look at surrounding content to understand an image. Users do the same. Put product images near product descriptions, charts near the analysis they support, and screenshots near the steps they explain. Do not make readers play digital hide-and-seek.

Compress Images Without Destroying Them

Large images can slow page speed, hurt user experience, and increase bounce rates. Use appropriately sized images, compression, modern formats such as WebP or AVIF when suitable, and responsive image markup. A beautiful hero image should not require the loading power of a small moon.

Use Captions When They Add Value

Captions are visible to all users, unlike alt text. They are useful when an image needs context, attribution, explanation, or a short takeaway. For editorial, educational, and data-heavy content, captions can increase comprehension and engagement.

Making Videos Accessible

Video accessibility is where many otherwise polished websites trip over their own shoelaces. A video without captions, transcript, or audio description can exclude users who are deaf, hard of hearing, blind, low vision, neurodivergent, in a noisy environment, in a quiet office, or simply unable to listen at that moment.

Captions Are Essential

Captions provide synchronized text for spoken words and meaningful sounds. They should include dialogue, speaker identification when needed, and important audio cues such as laughter, music, alarms, or applause. Auto-captions are a helpful starting point, but they should be reviewed. Otherwise, your brand webinar may accidentally turn “conversion funnel” into “confession funnel,” which is either a typo or a very different marketing strategy.

Transcripts Make Videos Searchable and Skimmable

A transcript is a text version of the video content. It helps users who prefer reading, supports people using assistive technology, and gives search engines more indexable content. For tutorials, interviews, webinars, product demos, and educational videos, transcripts can dramatically improve the usefulness of the page.

Place the transcript close to the video, or link clearly to it. Avoid hiding it behind vague anchor text like “click here.” Use descriptive wording such as “Read the full video transcript.”

Audio Descriptions Fill Visual Gaps

If important information appears visually but is not explained in the audio, provide an audio description or a written alternative. For example, if a video shows a chart while the narrator says, “As you can see, the results are obvious,” that is not accessible. Also, the results are apparently not obvious to the narrator’s commitment to clarity.

A better narration would say: “The chart shows organic traffic increasing from 12,000 visits in January to 21,000 visits in March.” That single sentence helps everyone.

Choose an Accessible Video Player

An accessible video player should work with keyboard navigation, expose controls to screen readers, support captions, allow pause and replay, and avoid autoplay with sound. If motion or flashing content is used, provide controls and avoid patterns that could trigger discomfort or seizures.

Accessible Infographics, Charts, and Complex Images

Infographics are popular because they make complicated information look friendly. Unfortunately, they can also become accessibility disasters if all the important content is trapped inside a flat image. If your infographic includes statistics, steps, comparisons, or conclusions, provide the same information in HTML text near the image.

Best Practice for Infographics

Use short alt text to identify the infographic, then provide a detailed text equivalent below it.

Then add a text section with the steps, data points, and conclusions. This improves accessibility, helps search engines understand the content, and makes the page more useful for readers who want to copy, quote, translate, or skim the information.

Accessibility for Social Images and Embedded Media

Accessibility does not stop at your website. Social posts, embedded videos, PDFs, email banners, slides, and downloadable assets also need attention. Many platforms now allow custom alt text for social images. Use it. Do not rely entirely on automatic descriptions, especially for branded graphics, screenshots, memes, charts, or images with text.

For images that contain text, include that text in the post, caption, or alt description when it matters. Better yet, avoid putting essential information only inside an image. Text baked into graphics is harder to resize, translate, search, and access.

Common Accessibility Mistakes That Hurt SEO

Keyword-Stuffed Alt Text

Stuffing keywords into alt text is like seasoning soup with a shovel. A little relevance helps; too much ruins the experience. Write for clarity first.

Missing Alt Attributes

Every meaningful image should have appropriate alt text, and decorative images should have an empty alt attribute. Missing attributes can create confusion for assistive technologies and make your HTML less reliable.

Text Hidden Inside Images

If your main message is inside a JPG, it is harder for users and search engines to access. Use real HTML text whenever possible.

Videos Without Captions

Uncaptioned videos shut out many users and reduce content flexibility. Captions are not a bonus feature; they are part of the content.

Complex Graphics Without Text Alternatives

Charts, maps, diagrams, and infographics need more than “chart” as alt text. Give users the key information in text.

A Practical Accessibility Optimization Checklist

Use this checklist when publishing or auditing content:

  • Every meaningful image has accurate, concise alt text.
  • Decorative images use alt="".
  • Linked images describe the link function.
  • Image filenames are descriptive and readable.
  • Images are compressed, responsive, and placed near relevant text.
  • Videos include accurate captions.
  • Important videos include transcripts.
  • Visual-only information in videos is described in audio or text.
  • Infographics and charts have full text equivalents.
  • Media players are keyboard accessible.
  • Headings follow a logical hierarchy.
  • Links use descriptive anchor text.
  • Color contrast supports readability.
  • Pages are tested with accessibility tools and human review.

How to Audit Alt Text and Media Accessibility

Start with your highest-value pages: homepage, product pages, service pages, top blog posts, landing pages, and pages that drive conversions. Run an automated accessibility scan to find missing alt attributes, contrast issues, empty buttons, and form problems. Then perform a manual review because automated tools cannot fully judge whether alt text is meaningful.

Create a simple spreadsheet with columns for page URL, image file, current alt text, image purpose, recommended alt text, priority, and status. This turns accessibility from a vague moral cloud into a manageable workflow. Prioritize images that communicate essential information, appear above the fold, support conversions, or rank in image search.

For videos, check whether captions exist, whether they are accurate, whether a transcript is available, and whether visual information is explained. If a product demo relies on cursor movements, pop-up labels, or visual comparisons, add narration or written steps.

Experiences From Real Accessibility Optimization Work

In practical content and SEO projects, the biggest accessibility wins often come from surprisingly small changes. A team may spend weeks debating the perfect blog introduction, then discover that half the article images are named screenshot-7.png and have no alt text. That is not glamorous, but fixing it can immediately improve usability and content clarity.

One common experience is auditing ecommerce product pages. Product images often have repeated alt text such as “product,” “front,” or “image.” That does very little for a shopper using a screen reader and not much for search engines either. A stronger approach is to describe the product with the attributes that influence buying decisions: color, material, style, size, pattern, and view. For example, “Black leather ankle boot with block heel, side zipper, and rounded toe” is far more useful than “boot.” It helps users understand the product without seeing it and gives search engines real context.

Another frequent lesson comes from blog images. Many editorial teams use decorative stock photos at the top of articles. These images may look nice, but they often do not add meaningful information. In those cases, forcing keyword-heavy alt text can make the screen reader experience worse. It is better to decide whether the image is meaningful. If it is decorative, use empty alt text. If it supports the topic, describe it honestly and briefly. Accessibility is not about making every image talk; it is about making every important image communicate.

Video projects reveal a different challenge: captions are easy to promise and easy to postpone. Teams often upload webinars, product tutorials, or interviews and assume the platform’s auto-captions are “good enough.” Then someone reviews the captions and finds brand names mangled, acronyms misread, and punctuation wandering around like it lost its car keys. Editing captions takes time, but it protects meaning. For technical, medical, legal, or financial content, accurate captions are essential.

Transcripts also create unexpected SEO value. A 20-minute tutorial may contain thousands of words of helpful explanations, examples, and terminology. Without a transcript, much of that value remains locked inside the video. With a transcript, users can search the page, skim sections, copy instructions, and revisit details. Search engines also get a clearer understanding of the content. The transcript becomes both an accessibility feature and a content asset.

Complex images are another area where experience teaches humility. Infographics look efficient, but they can hide important information from users who cannot visually interpret them. The best solution is not to abandon infographics. It is to pair them with real text. A short alt description introduces the graphic, while a nearby section explains the data, steps, or conclusions. This approach helps screen reader users, mobile users, translators, researchers, and anyone who has ever tried to pinch-zoom a tiny chart on a phone while questioning their life choices.

The most successful teams treat accessibility as part of publishing, not as a cleanup project. They add alt text fields to content briefs. They include caption review in video workflows. They train writers to ask, “What does this media add?” They give designers guidance on text contrast and image-based text. They check templates before creating hundreds of pages. This prevents accessibility debt, which is like technical debt except it also excludes people.

Finally, accessibility optimization works best when teams stop treating it as a compliance panic button. Yes, legal requirements matter. Yes, standards matter. But the daily motivation should be simpler: people are trying to use your website. Some are using screen readers. Some are watching videos without sound. Some are on slow connections. Some are tired, distracted, injured, aging, multitasking, or using devices you did not design for. Accessible content respects all of them. And when your content is easier for more people to use, it usually becomes easier for search engines to understand too.

Conclusion

Optimizing for accessibility is not a side quest. It is part of building a better website. Alt text helps users understand images. Captions and transcripts make videos more usable. Descriptive filenames, structured content, readable layouts, and accessible media players improve both human experience and search performance.

The best strategy is simple: describe what matters, skip what does not, make essential content available as real text, and test your work. When accessibility and SEO work together, your site becomes clearer, faster, more inclusive, and more discoverable. That is not just good optimization. That is good publishing.

SEO Tags