{"id":521,"date":"2026-11-16T06:14:03","date_gmt":"2026-11-15T19:14:03","guid":{"rendered":"https:\/\/uxrobot.ai\/ux-audits\/?post_type=guide&#038;p=521"},"modified":"2026-11-16T06:14:03","modified_gmt":"2026-11-15T19:14:03","slug":"how-to-add-alt-text","status":"publish","type":"guide","link":"https:\/\/uxrobot.ai\/ux-audits\/guides\/how-to-add-alt-text\/","title":{"rendered":"How to add alt text to images, with real examples"},"content":{"rendered":"\n<p class=\"has-lead-font-size wp-block-paragraph\">A photo of your product means nothing to someone who cannot see it, unless you tell them what it shows. That is the job of alt text. This guide shows how to add alt text to images in the tools you already publish with, how to decide what to write, and what good and bad alt text looks like on real pages.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It covers plain HTML, WordPress, Shopify, Squarespace, Microsoft Word, PowerPoint and Outlook, and Google Docs and Slides, with the steps each tool\u2019s own help pages describe today. Then it walks through the questions that decide what an image needs, a table of examples by type of image, and a real logo link from a UX Robot audit that still has nothing to say.<\/p>\n\n\n\n<div class=\"uxa-gd-takeaways\">\n    <p class=\"uxa-kicker\">In short<\/p>\n    <ul>\n        <li>Alt text is a short written replacement for an image, read aloud by screen readers and shown when the image does not load.<\/li>\n        <li>Every tool has an alt text field in the image\u2019s settings; in HTML it is the <code>alt<\/code> attribute on the <code>img<\/code> tag.<\/li>\n        <li>Write what the image means in its place on the page, in a few words, not what a camera would see.<\/li>\n        <li>An image inside a link or button needs alt text that says where it goes or what it does.<\/li>\n        <li>Purely decorative images get an empty alt, <code>alt=\"\"<\/code>, so screen readers skip them.<\/li>\n    <\/ul>\n<\/div>\n\n\n\n<nav class=\"uxa-gd-toc\" aria-label=\"In this guide\" data-uxa-toc><p class=\"uxa-kicker\">In this guide<\/p><ol><li><a href=\"#what-is-alt-text\">What is alt text?<\/a><\/li><li><a href=\"#why-alt-text-matters\">Why alt text matters, in numbers<\/a><\/li><li><a href=\"#how-to-add-alt-text\">How to add alt text to images, tool by tool<\/a><\/li><li><a href=\"#how-to-write-alt-text\">How to write good alt text<\/a><\/li><li><a href=\"#alt-text-examples\">Alt text examples for each kind of image<\/a><\/li><li><a href=\"#real-alt-text-example\">A real example: the logo link with nothing to say<\/a><\/li><li><a href=\"#decorative-images-and-special-cases\">Decorative images, charts and other special cases<\/a><\/li><li><a href=\"#check-alt-text\">How to check the alt text on your website<\/a><\/li><li><a href=\"#alt-text-faq\">Alt text questions people ask<\/a><\/li><\/ol><\/nav>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-is-alt-text\">What is alt text?<\/h2>\n\n\n\n<p class=\"uxa-gd-answer wp-block-paragraph\">Alt text, short for alternative text, is a written description attached to an image that does the image\u2019s job when it cannot be seen. Screen readers read it aloud, browsers show it when the image fails to load, and search engines use it to understand what the image shows.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In a web page, alt text lives in the <code>alt<\/code> attribute of the image tag. Visitors who can see the image never notice it. For someone who is blind and listening to the page with a screen reader, it is the only thing the image says. For someone on a slow connection, it is what appears in the empty box while the picture loads, or in place of it if it never does.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Alt text is not a caption. A caption sits under the image for everyone to read, while alt text replaces the image for people who cannot see it. It is also not the image\u2019s title or file name. A file called <code>IMG_4021.jpg<\/code> tells nobody anything, and some screen readers will read that file name aloud when an image has no alt attribute at all.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"why-alt-text-matters\">Why alt text matters, in numbers<\/h2>\n\n\n\n<p class=\"uxa-gd-answer wp-block-paragraph\">Missing alt text is the second most common accessibility failure on the web. WebAIM\u2019s 2026 test of the top million home pages found it on 53.1% of them, second only to low contrast text, and the accessibility standard most laws refer to requires it at its most basic level.<\/p>\n\n\n\n<div class=\"uxa-sc-stats\" aria-label=\"How often images are missing alt text on the top million home pages, 2026\">\n    <div class=\"uxa-sc-stats__item\">\n        <span class=\"uxa-sc-stats__number\" data-uxa-count=\"53.1\" data-uxa-suffix=\"%\">53.1%<\/span>\n        <span class=\"uxa-sc-stats__label\">Of the top million home pages had images with missing alternative text (WebAIM, February 2026).<\/span>\n    <\/div>\n    <div class=\"uxa-sc-stats__item\">\n        <span class=\"uxa-sc-stats__number\" data-uxa-count=\"10.8\">10.8<\/span>\n        <span class=\"uxa-sc-stats__label\">Images missing alt text on the average home page, 16.2% of all home page images (WebAIM, 2026).<\/span>\n    <\/div>\n    <div class=\"uxa-sc-stats__item\">\n        <span class=\"uxa-sc-stats__number\" data-uxa-count=\"45\" data-uxa-suffix=\"%\">45%<\/span>\n        <span class=\"uxa-sc-stats__label\">Of the images missing alt text were inside links, so the link had nothing to say (WebAIM, 2026).<\/span>\n    <\/div>\n    <div class=\"uxa-sc-stats__item\">\n        <span class=\"uxa-sc-stats__number\" data-uxa-count=\"10.8\" data-uxa-suffix=\"%\">10.8%<\/span>\n        <span class=\"uxa-sc-stats__label\">Of images that did have alt text used questionable text such as \u201cimage\u201d, \u201cgraphic\u201d or a file name (WebAIM, 2026).<\/span>\n    <\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">There is some good news in the same report: <a href=\"https:\/\/webaim.org\/projects\/million\/\">WebAIM<\/a> found that the share of images missing alt text \u201cdropped from 18.5% in 2025\u201d to 16.2% in 2026. But one in every four linked images still had none, and those are the costly ones, because a link made only of an image with no alt text gives a screen reader user a link with nothing to say. They hear that there is a link, and perhaps its web address, but not where it goes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Three reasons make alt text worth the minute it takes:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>People.<\/strong> Blind and low vision customers who use screen readers rely on it to understand products, charts and buttons. Without it, they miss information or cannot use a control at all.<\/li>\n<li><strong>The standard.<\/strong> The Web Content Accessibility Guidelines make text alternatives their very first rule, <a href=\"https:\/\/www.w3.org\/WAI\/WCAG22\/Understanding\/non-text-content.html\">success criterion 1.1.1, Non-text Content<\/a>, at level A, the most basic level. Non-text content needs \u201ca text alternative that serves the equivalent purpose.\u201d Our <a href=\"\/ux-audits\/guides\/ada-compliance-checklist\/\">ADA compliance checklist<\/a> explains how that standard connects to the law in the United States.<\/li>\n<li><strong>Search.<\/strong> Google says in its <a href=\"https:\/\/developers.google.com\/search\/docs\/appearance\/google-images\">image SEO best practices<\/a> that \u201cthe most important attribute when it comes to providing more metadata for an image is the alt text.\u201d When an image is a link, its alt text also works as the link\u2019s anchor text.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-to-add-alt-text\">How to add alt text to images, tool by tool<\/h2>\n\n\n\n<p class=\"uxa-gd-answer wp-block-paragraph\">Select the image, open its settings or details, and type into the field called Alt text or Alternative text. In HTML, add an <code>alt<\/code> attribute to the <code>img<\/code> tag. Every tool below has the field; only its place in the menus differs. The steps follow each tool\u2019s own help page as of November 2026.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">In HTML<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Add the <code>alt<\/code> attribute to the image tag, with the text inside the quotes. A decorative image gets the attribute with nothing between the quotes, which tells screen readers to skip it. Never leave the attribute out, because then some screen readers read the file name instead.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!-- An informative image --&gt;\n&lt;img src=\"dalmatian.jpg\" alt=\"Dalmatian puppy playing fetch\"&gt;\n\n&lt;!-- A logo that links to the home page --&gt;\n&lt;a href=\"\/\"&gt;&lt;img src=\"logo.svg\" alt=\"Happy Menu home\"&gt;&lt;\/a&gt;\n\n&lt;!-- A decorative flourish --&gt;\n&lt;img src=\"divider.svg\" alt=\"\"&gt;<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">In WordPress<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In the block editor, according to the <a href=\"https:\/\/wordpress.org\/documentation\/article\/image-block\/\">Image block documentation<\/a>:<\/p>\n\n\n\n<ol class=\"uxa-gd-steps\">\n    <li><strong>Select the image block<\/strong><span>Click the image in the post or page you are editing.<\/span><\/li>\n    <li><strong>Open the block settings<\/strong><span>If the sidebar is hidden, click the Settings button next to Save or Publish.<\/span><\/li>\n    <li><strong>Find Alternative text on the Content tab<\/strong><span>Type the description, or tick Mark as decorative for an image that adds nothing.<\/span><\/li>\n    <li><strong>Save or update the post<\/strong><span>The alt text is published with the page.<\/span><\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Alt text typed in the block applies only to that post. To set a default for an image wherever it is used, open Media, then Library, click the image to open Attachment Details and fill in Alt Text; the change saves on its own. WordPress uses that text when the image is inserted later, so set it once when you upload.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">In Shopify<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">For product images, Shopify\u2019s <a href=\"https:\/\/help.shopify.com\/en\/manual\/products\/product-media\/add-alt-text\">help page on alt text<\/a> gives these steps on a computer: go to Products and click the product, click an image to open Preview media, click Add alt text, type it, click Save alt text and close the preview. In the mobile app, tap the image, then Information, type the text and save.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Shopify allows up to 512 characters and recommends 125 or fewer. Its media editor may also suggest alt text for you. Treat a suggestion as a first draft: it can describe what is in the photo, but only you know why the photo is on the page, such as the color that is out of stock or the detail that sets this product apart.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">In Squarespace<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">For an image block, open the page and click Edit, click the image block, then the pencil icon, and type into Image alt text on the Content tab. For product images, Squarespace uses an Alt text field under Edit metadata on the image. Its help center notes that some images, such as section background images, do not take alt text, so put anything important in those images into the page\u2019s text as well.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">In Word, PowerPoint and Outlook<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Microsoft\u2019s <a href=\"https:\/\/support.microsoft.com\/en-us\/office\/add-alternative-text-to-a-shape-picture-chart-smartart-graphic-or-other-object-44989b2a-903c-4d9a-b742-6a75b451c669\">guide to alternative text<\/a> works the same way in Word, PowerPoint and Excel: right-click the picture and choose View Alt Text, or select it and choose Picture Format, then Alt Text. Type one or two sentences in the Alt Text pane. In Outlook, right-click and choose Edit Alt Text. For a decorative shape or line, tick Mark as decorative instead, and the text box is grayed out.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">In Google Docs and Slides<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Select the image, choose Image options, then Alt text, and type the description. The keyboard shortcut is Ctrl + Alt + Y on Windows and ChromeOS, or Command + Option + Y on a Mac, as <a href=\"https:\/\/support.google.com\/docs\/answer\/6199477\">Google\u2019s help page<\/a> lists. In Google Sheets, select the image, open its More menu and choose Alt text.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">In any other tool<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Website builders, email tools and design apps almost always have the field, usually in the image\u2019s settings, details or accessibility panel, labeled Alt text, Alternative text or Image description. Search the tool\u2019s help center for \u201calt text\u201d to find it. If a tool has no field at all for an image that carries meaning, put that meaning in the text next to the image instead.<\/p>\n\n\n\n<aside class=\"uxa-check is-inline\" data-uxa-check=\"inline\"><p class=\"uxa-kicker\">Check your page<\/p><p class=\"uxa-check__title\">Find the images on your page with no alt text.<\/p><p class=\"uxa-check__text\">Type your page\u2019s address and UX Robot\u2019s free check lists its accessibility failures, including images with no alt text, with the element to find each one by. It takes about a minute, without signing up.<\/p><form class=\"uxa-check-form\" action=\"\/\" method=\"get\" data-uxa-check-form><label class=\"uxa-check-form__label\" for=\"uxa-check-inline-1\">Your page\u2019s address<\/label><span class=\"uxa-check-form__row\"><input class=\"uxa-check-form__input\" id=\"uxa-check-inline-1\" type=\"text\" name=\"website\" inputmode=\"url\" autocomplete=\"url\" autocapitalize=\"off\" spellcheck=\"false\" maxlength=\"255\" placeholder=\"yourwebsite.com\" required><button class=\"uxa-check-form__button\" type=\"submit\">Check my page<\/button><\/span><input type=\"hidden\" name=\"utm_source\" value=\"blog\"><input type=\"hidden\" name=\"utm_medium\" value=\"guide\"><input type=\"hidden\" name=\"utm_campaign\" value=\"accessibility\"><input type=\"hidden\" name=\"utm_content\" value=\"how-to-add-alt-text\"><input type=\"hidden\" name=\"utm_term\" value=\"inline\"><\/form><\/aside>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-to-write-alt-text\">How to write good alt text<\/h2>\n\n\n\n<p class=\"uxa-gd-answer wp-block-paragraph\">Ask why the image is on the page, then write the few words that do the same job for someone who cannot see it. Describe its meaning in context, not every visible detail. Keep it brief, skip \u201cimage of\u201d, and do not repeat text that is already next to the image.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The W3C\u2019s <a href=\"https:\/\/www.w3.org\/WAI\/tutorials\/images\/decision-tree\/\">alt decision tree<\/a> turns that into a handful of questions. Work through them in order and stop at the first one that fits:<\/p>\n\n\n\n<ol class=\"uxa-gd-steps\">\n    <li><strong>Does the image contain text?<\/strong><span>If the same words are already on the page, or are only there for visual effect, use an empty alt. If it is an icon with a job, describe the job. Otherwise, the alt text repeats the words in the image.<\/span><\/li>\n    <li><strong>Is it inside a link or a button?<\/strong><span>Then the alt text says where the link goes or what the button does, such as \u201cHappy Menu home\u201d or \u201cPrint this page\u201d.<\/span><\/li>\n    <li><strong>Does it add meaning to the page?<\/strong><span>For a photo or simple graphic, write a brief description of that meaning. For a chart or diagram, give a short alt and put the full information in the page\u2019s text or a table.<\/span><\/li>\n    <li><strong>Is it there only for decoration?<\/strong><span>Use an empty alt, <code>alt=\"\"<\/code>, so screen readers skip it.<\/span><\/li>\n    <li><strong>Still not sure?<\/strong><span>The tree does not cover every case. Ask what a person reading the page aloud to a friend would say about the image, and write that.<\/span><\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Then apply a few rules that hold for almost every image:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Context decides.<\/strong> The same photo of a chef can need \u201cHead chef Maria plating the tasting menu\u201d on an About page and an empty alt on a menu page where it is only atmosphere. Whether an image is informative or decorative, as the W3C puts it, is a judgment authors make \u201cbased on the reason for including the image on the page.\u201d<\/li>\n<li><strong>Keep it short.<\/strong> <a href=\"https:\/\/webaim.org\/techniques\/alttext\/\">WebAIM\u2019s guidance<\/a> is that \u201ctypically, only a few words are necessary, though rarely a short sentence or two may be appropriate.\u201d A long description belongs in the page text, where everyone can read it.<\/li>\n<li><strong>Skip \u201cimage of\u201d and \u201cpicture of\u201d.<\/strong> Screen readers already announce that it is an image, so the words are heard twice.<\/li>\n<li><strong>Do not repeat the text around it.<\/strong> If the caption or the heading next to the image already says it, the image is decorative in that place.<\/li>\n<li><strong>Do not stuff keywords.<\/strong> Google warns that filling alt attributes with keywords \u201cmay cause your site to be seen as spam.\u201d Write for the person, and the right words follow.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Google\u2019s own example shows the progression well. A puppy photo with no alt text is bad. A long string of puppy keywords is also bad. The single word \u201cpuppy\u201d is better. \u201cDalmatian puppy playing fetch\u201d is best, because it tells a person and a search engine what is actually happening in the picture.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"alt-text-examples\">Alt text examples for each kind of image<\/h2>\n\n\n\n<p class=\"uxa-gd-answer wp-block-paragraph\">Good alt text changes with the kind of image. A product photo needs the details a shopper would ask about, a logo link needs its destination, an icon button needs its action, an image of text needs the same words, a chart needs its main point and a decorative image needs nothing.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The examples marked as real are from Happy Menu\u2019s home page, a restaurant discovery app whose owner lets UX Robot publish its audits, as we read them on November 16, 2026. The others show the pattern.<\/p>\n\n\n\n<div class=\"uxa-sc-board-wrap\">\n    <span class=\"uxa-kicker\">Alt text by kind of image<\/span>\n    <table class=\"uxa-sc-board\">\n        <thead>\n            <tr><th scope=\"col\">Kind of image<\/th><th scope=\"col\">Weak alt text<\/th><th scope=\"col\">Better alt text<\/th><\/tr>\n        <\/thead>\n        <tbody>\n            <tr><th scope=\"row\">Screenshot that shows a feature<\/th><td><code>screenshot<\/code><\/td><td>Real: <code>The Chiki Chiki restaurant page with its menu and prices<\/code><\/td><\/tr>\n            <tr><th scope=\"row\">Product photo<\/th><td><code>Shoe<\/code><\/td><td><code>Women\u2019s trail running shoe in navy with an orange sole<\/code><\/td><\/tr>\n            <tr><th scope=\"row\">Logo that links home<\/th><td>No alt attribute (real, in the page header)<\/td><td>Real, in the same page\u2019s footer: <code>Happy Menu<\/code>; clearer still: <code>Happy Menu home<\/code><\/td><\/tr>\n            <tr><th scope=\"row\">Image of text, such as a store badge<\/th><td><code>badge<\/code><\/td><td>Real: <code>Download on the App Store<\/code><\/td><\/tr>\n            <tr><th scope=\"row\">Icon button<\/th><td><code>printer icon<\/code><\/td><td><code>Print this page<\/code><\/td><\/tr>\n            <tr><th scope=\"row\">Chart<\/th><td><code>chart<\/code><\/td><td><code>Bar chart of monthly sign-ups, which doubled from March to June<\/code>, with the numbers in a table below<\/td><\/tr>\n            <tr><th scope=\"row\">Decorative divider or background shape<\/th><td><code>decorative swirl<\/code><\/td><td><code>alt=\"\"<\/code><\/td><\/tr>\n        <\/tbody>\n    <\/table>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Look at the store badge. It is a picture of words, so its alt text is simply those words; there is no need to say it is black or has an Apple logo. The screenshot alt text works because it says what the screenshot proves, a restaurant page with its menu and prices, not how many pixels of gray sit around it. And the chart alt text leads with the point the chart makes, which is the reason the chart is there.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"real-alt-text-example\">A real example: the logo link with nothing to say<\/h2>\n\n\n\n<p class=\"uxa-gd-answer wp-block-paragraph\">On Happy Menu\u2019s home page, the logo at the top is an image with no alt attribute, and it is the only thing inside the link to the home page. UX Robot\u2019s audit measured it as a link with no name. The fix is one attribute.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">UX Robot audited the page on a phone in October 2026 and marked the logo on the screenshot. Its free check on November 6 listed the same element twice, once as an image with no alt attribute and once as a link with no name, among six accessibility failures.<\/p>\n\n\n\n<div class=\"uxa-sc-phones uxa-sc-reveal\">\n    <figure class=\"uxa-sc-phone\">\n        <div class=\"uxa-sc-phone__head\"><span class=\"uxa-kicker\">Link with no name<\/span><span class=\"uxa-sc-tag is-basis\">Measured<\/span><\/div>\n        <img src=\"https:\/\/uxrobot.ai\/ux-audits\/wp-content\/uploads\/2026\/11\/guide-how-to-add-alt-text-happy-menu-logo-link-marked.jpg\" width=\"780\" height=\"1688\" loading=\"lazy\" decoding=\"async\" alt=\"The Happy Menu logo at the top left of the home page on a phone, an image with no alt text inside the home link, marked with a red box\">\n        <figcaption>The logo image has no alt text, so its home link has no words for screen readers or Google.<\/figcaption>\n    <\/figure>\n<\/div>\n\n\n\n<div class=\"uxa-sc-screens uxa-sc-reveal\">\n    <figure class=\"uxa-sc-screen\">\n        <div class=\"uxa-sc-screen__head\"><span class=\"uxa-kicker\">Automated accessibility checks<\/span><span class=\"uxa-sc-tag is-basis\">Measured<\/span><\/div>\n        <div class=\"uxa-sc-screen__window\"><img src=\"https:\/\/uxrobot.ai\/ux-audits\/wp-content\/uploads\/2026\/11\/guide-how-to-add-alt-text-happy-menu-check-accessibility.jpg\" width=\"1704\" height=\"1322\" loading=\"lazy\" decoding=\"async\" alt=\"Accessibility score of 78 for happymenu.co with six failed checks: hidden elements that can still take focus, low contrast text, an image with no alt attribute, a link with no name, zoom turned off and no main landmark\"><\/div>\n        <figcaption>UX Robot\u2019s free check on November 6, 2026: the missing alt attribute and the link with no name are one problem with one fix.<\/figcaption>\n    <\/figure>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Here is what that means for a customer using a screen reader. They move through the page by links, which is one of the quickest ways to get around, and the first link they reach has no words. Depending on the screen reader, they hear \u201clink\u201d on its own or the link\u2019s web address. A sighted visitor knows at a glance that the logo goes home; the screen reader user has to guess.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The instructive part is the footer of the same page. When we read the page on November 16, 2026, the footer logo, the same image file inside another home link, had <code>alt=\"Happy Menu\"<\/code>, while the header logo still had no alt attribute. The same image needed alt text twice, and got it once. That is how most missing alt text happens: not from a decision, but from a template or component that nobody gave a field to fill in.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!-- Before: the header logo --&gt;\n&lt;a href=\"\/\"&gt;&lt;img src=\"\/storage\/images\/logo.svg\"&gt;&lt;\/a&gt;\n\n&lt;!-- After --&gt;\n&lt;a href=\"\/\"&gt;&lt;img src=\"\/storage\/images\/logo.svg\" alt=\"Happy Menu home\"&gt;&lt;\/a&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">For a logo inside a link, the W3C\u2019s <a href=\"https:\/\/www.w3.org\/WAI\/tutorials\/images\/functional\/\">guidance on functional images<\/a> uses \u201cW3C home\u201d as its example: the name, plus where the link goes. If the link already has the website\u2019s name as visible text next to the logo, the logo gets an empty alt instead, so the name is not read twice. You can see how this finding sat in the whole report in our <a href=\"\/ux-audits\/guides\/seo-audit-example\/\">SEO audit example<\/a>, where the same missing attribute failed both an accessibility check and a search check.<\/p>\n\n\n\n<aside class=\"uxa-check is-callout\" data-uxa-check=\"callout\"><p class=\"uxa-check__text\"><strong>Is your logo link named?<\/strong> UX Robot\u2019s free check flags images with no alt attribute and links with no name on your page, with the element to find each one by.<\/p><a class=\"uxa-check__link\" href=\"\/?utm_source=blog&#038;utm_medium=guide&#038;utm_campaign=accessibility&#038;utm_content=how-to-add-alt-text&#038;utm_term=callout\">Check my page<\/a><\/aside>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"decorative-images-and-special-cases\">Decorative images, charts and other special cases<\/h2>\n\n\n\n<p class=\"uxa-gd-answer wp-block-paragraph\">Decorative images get an empty alt so screen readers skip them. Linked images describe the destination. Images of text repeat the text. Charts and diagrams need a short alt plus the full information in the page itself.<\/p>\n\n\n\n<div class=\"uxa-gd-checklist-group\">\n    <h3>Decorative images<\/h3>\n    <ul class=\"uxa-gd-checklist\">\n        <li>Use <code>alt=\"\"<\/code> with nothing between the quotes, never leave the attribute out.<\/li>\n        <li>In WordPress and Microsoft Office, tick Mark as decorative instead of typing anything.<\/li>\n        <li>Where you can, add purely visual images as CSS backgrounds rather than <code>img<\/code> tags.<\/li>\n        <li>Icons next to a text label, such as a phone icon beside \u201cCall us\u201d, are usually decorative.<\/li>\n    <\/ul>\n<\/div>\n<div class=\"uxa-gd-checklist-group\">\n    <h3>Images in links and buttons<\/h3>\n    <ul class=\"uxa-gd-checklist\">\n        <li>Say where the link goes or what the button does, not what the picture looks like.<\/li>\n        <li>Leave out \u201clink to\u201d and \u201cclick here\u201d; screen readers already say it is a link.<\/li>\n        <li>If the link also has visible text, give the image an empty alt so the text is not read twice.<\/li>\n        <li>A logo alone in a home link gets the name and \u201chome\u201d.<\/li>\n    <\/ul>\n<\/div>\n<div class=\"uxa-gd-checklist-group\">\n    <h3>Images of text<\/h3>\n    <ul class=\"uxa-gd-checklist\">\n        <li>The alt text contains the same words shown in the image.<\/li>\n        <li>Prefer real text styled with CSS; it scales, translates and can be searched.<\/li>\n        <li>Logos are the accepted exception to avoiding images of text.<\/li>\n        <li>For a flyer or an infographic, put its full text in the page, not in the alt.<\/li>\n    <\/ul>\n<\/div>\n<div class=\"uxa-gd-checklist-group\">\n    <h3>Charts, diagrams and maps<\/h3>\n    <ul class=\"uxa-gd-checklist\">\n        <li>Write a short alt that names the chart and its main point.<\/li>\n        <li>Give the full data in a table or a paragraph next to it, which helps every reader.<\/li>\n        <li>Do not rely on the old <code>longdesc<\/code> attribute; WebAIM notes that it is deprecated.<\/li>\n        <li>For a map, list the places or directions it shows in text.<\/li>\n    <\/ul>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">One more case is growing fast: alt text written by AI. Tools now suggest descriptions on upload, and they are a fair starting point for a photo. But they describe what is in the picture, not why it is on your page, and they cannot know that a screenshot is there to prove a feature or that a chart\u2019s point is the jump in June. Read every suggestion and rewrite it for its place on the page.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"check-alt-text\">How to check the alt text on your website<\/h2>\n\n\n\n<p class=\"uxa-gd-answer wp-block-paragraph\">An automated check finds images with no alt attribute in seconds. Only a person can tell whether the alt text that is there is any good, so check both: run a tool for the missing ones, then read the alt text of your most important pages aloud.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Run an automated check<\/strong> on your home page and your most visited pages. It will list images with no alt attribute and links or buttons with no name.<\/li>\n<li><strong>Look at the templates, not just the pages.<\/strong> Headers, footers, product cards and article lists repeat on every page, so one missing alt in a template is missing everywhere, as Happy Menu\u2019s header logo shows.<\/li>\n<li><strong>Read the alt text in context.<\/strong> In your browser, right-click an image and choose Inspect to see its alt attribute. Ask whether the words would do the image\u2019s job if the image vanished.<\/li>\n<li><strong>Try a screen reader for five minutes.<\/strong> VoiceOver is built into Mac and iPhone, and NVDA is free for Windows. Move through the links on your home page and listen for any that say nothing useful.<\/li>\n<li><strong>Write a rule for whoever publishes.<\/strong> One paragraph in your content guide, with three examples from your own website, prevents most new problems.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Missing alt text is rarely a website\u2019s only accessibility problem. On Happy Menu\u2019s page it sat beside low contrast text and zoom turned off, which is typical; our guide to <a href=\"\/ux-audits\/guides\/wcag-aa-vs-aaa\/\">WCAG AA and AAA<\/a> explains which level to aim for. UX Robot helps with the rest of the work: your own AI agent audits a page for usability and WCAG 2.2, marks each problem on a screenshot, says whether it was measured or judged and gives the fix. The Free plan includes five page audits a month, Pro gives unlimited page audits, and Enterprise audits whole journeys with your connected data, sends issues to your tracker and rechecks them after you ship. See the <a href=\"\/pricing\">plans<\/a> or how <a href=\"\/documentation\/page-audits\">page audits<\/a> work.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"alt-text-faq\">Alt text questions people ask<\/h2>\n\n\n\n<div class=\"uxa-gd-faq\">\n    <details>\n        <summary>How long should alt text be?<\/summary>\n        <p>As short as it can be while doing the image\u2019s job, usually a few words and rarely more than a sentence or two. WCAG sets no limit. Some tools do: Shopify allows 512 characters and recommends 125 or fewer. If an image needs a long explanation, put it in the page text.<\/p>\n    <\/details>\n    <details>\n        <summary>Why is alt text showing instead of the image?<\/summary>\n        <p>The image did not load. The file may have moved or been renamed, the address in the page may be wrong, the connection may be slow, or a browser setting or extension may be blocking images. That is exactly the moment alt text is for, which is one more reason to write it well.<\/p>\n    <\/details>\n    <details>\n        <summary>Does alt text help SEO?<\/summary>\n        <p>Yes. Google calls alt text the most important attribute for giving it information about an image, and uses the alt text of a linked image as the link\u2019s anchor text. Write it for people first and avoid stuffing it with keywords, which Google says can look like spam.<\/p>\n    <\/details>\n    <details>\n        <summary>Do decorative images need alt text?<\/summary>\n        <p>They need an alt attribute, but an empty one: <code>alt=\"\"<\/code>. That tells screen readers to skip the image. Leaving the attribute out entirely is a failure, because some screen readers then read the file name aloud.<\/p>\n    <\/details>\n    <details>\n        <summary>How do I write an image description for a chart or infographic?<\/summary>\n        <p>Give the image a short alt text that names it and its main point, then put the full information in the page as text or a table. The W3C calls this a two-part text alternative: a short description to identify the image and a long description of its essential information.<\/p>\n    <\/details>\n    <details>\n        <summary>Should alt text say \u201clogo\u201d?<\/summary>\n        <p>Usually not. For a logo inside a home link, the name and the destination, such as \u201cHappy Menu home\u201d, are what matter. WebAIM notes that the word logo is usually not an important part of the image\u2019s content or function.<\/p>\n    <\/details>\n<\/div>\n\n\n\n<div class=\"uxa-gd-sources\">\n    <p class=\"uxa-kicker\">Sources<\/p>\n    <ol>\n        <li><a href=\"https:\/\/webaim.org\/projects\/million\/\">The WebAIM Million<\/a>, WebAIM, 2026 report from February 2026 tests: missing alternative text on home pages and images.<\/li>\n        <li><a href=\"https:\/\/www.w3.org\/WAI\/WCAG22\/Understanding\/non-text-content.html\">Understanding success criterion 1.1.1: Non-text Content<\/a>, W3C.<\/li>\n        <li><a href=\"https:\/\/www.w3.org\/WAI\/tutorials\/images\/decision-tree\/\">An alt decision tree<\/a> and <a href=\"https:\/\/www.w3.org\/WAI\/tutorials\/images\/\">Images tutorial<\/a>, W3C Web Accessibility Initiative.<\/li>\n        <li><a href=\"https:\/\/www.w3.org\/WAI\/tutorials\/images\/functional\/\">Functional images<\/a>, W3C Web Accessibility Initiative.<\/li>\n        <li><a href=\"https:\/\/webaim.org\/techniques\/alttext\/\">Alternative text<\/a>, WebAIM.<\/li>\n        <li><a href=\"https:\/\/developers.google.com\/search\/docs\/appearance\/google-images\">Image SEO best practices<\/a>, Google Search Central.<\/li>\n        <li><a href=\"https:\/\/wordpress.org\/documentation\/article\/image-block\/\">Image block<\/a> and <a href=\"https:\/\/wordpress.org\/documentation\/article\/media-library-screen\/\">Media Library screen<\/a>, WordPress documentation.<\/li>\n        <li><a href=\"https:\/\/help.shopify.com\/en\/manual\/products\/product-media\/add-alt-text\">Adding alt text to product media<\/a>, Shopify Help Center.<\/li>\n        <li><a href=\"https:\/\/support.squarespace.com\/hc\/en-us\/articles\/206542357\">Adding alt text to images<\/a>, Squarespace Help Center.<\/li>\n        <li><a href=\"https:\/\/support.microsoft.com\/en-us\/office\/add-alternative-text-to-a-shape-picture-chart-smartart-graphic-or-other-object-44989b2a-903c-4d9a-b742-6a75b451c669\">Add alternative text to a shape, picture, chart, SmartArt graphic, or other object<\/a>, Microsoft Support.<\/li>\n        <li><a href=\"https:\/\/support.google.com\/docs\/answer\/6199477\">Add alt text to images in Google Docs, Sheets and Slides<\/a>, Google Docs Editors Help.<\/li>\n        <li>UX Robot audit of happymenu.co on a phone, October 2026, its free check on November 6, 2026, and the page as read on November 16, 2026, published with the owner\u2019s permission.<\/li>\n    <\/ol>\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>How to add alt text to images in HTML, WordPress, Shopify, Squarespace, Word and Google Docs, how to write it well, and real examples of good and bad alt text.<\/p>\n","protected":false},"featured_media":518,"template":"","guide-topics":[17],"class_list":["post-521","guide","type-guide","status-publish","has-post-thumbnail","hentry","guide_topic-accessibility"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"How to add alt text to images in HTML, WordPress, Shopify, Squarespace, Word and Google Docs, how to write it well, and real examples of good and bad alt text.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/uxrobot.ai\/ux-audits\/guides\/how-to-add-alt-text\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"UX Audits - Independent, evidence-led UX audits.\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to add alt text to images, with real examples - UX Audits\" \/>\n\t\t<meta property=\"og:description\" content=\"How to add alt text to images in HTML, WordPress, Shopify, Squarespace, Word and Google Docs, how to write it well, and real examples of good and bad alt text.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/uxrobot.ai\/ux-audits\/guides\/how-to-add-alt-text\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-11-15T19:14:03+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-11-15T19:14:03+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to add alt text to images, with real examples - UX Audits\" \/>\n\t\t<meta name=\"twitter:description\" content=\"How to add alt text to images in HTML, WordPress, Shopify, Squarespace, Word and Google Docs, how to write it well, and real examples of good and bad alt text.\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/uxrobot.ai\\\/ux-audits\\\/guides\\\/how-to-add-alt-text\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/uxrobot.ai\\\/ux-audits\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/uxrobot.ai\\\/ux-audits\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/uxrobot.ai\\\/ux-audits\\\/guides\\\/#listItem\",\"name\":\"Guides\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/uxrobot.ai\\\/ux-audits\\\/guides\\\/#listItem\",\"position\":2,\"name\":\"Guides\",\"item\":\"https:\\\/\\\/uxrobot.ai\\\/ux-audits\\\/guides\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/uxrobot.ai\\\/ux-audits\\\/guides\\\/topic\\\/accessibility\\\/#listItem\",\"name\":\"Accessibility\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/uxrobot.ai\\\/ux-audits\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/uxrobot.ai\\\/ux-audits\\\/guides\\\/topic\\\/accessibility\\\/#listItem\",\"position\":3,\"name\":\"Accessibility\",\"item\":\"https:\\\/\\\/uxrobot.ai\\\/ux-audits\\\/guides\\\/topic\\\/accessibility\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/uxrobot.ai\\\/ux-audits\\\/guides\\\/how-to-add-alt-text\\\/#listItem\",\"name\":\"How to add alt text to images, with real examples\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/uxrobot.ai\\\/ux-audits\\\/guides\\\/#listItem\",\"name\":\"Guides\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/uxrobot.ai\\\/ux-audits\\\/guides\\\/how-to-add-alt-text\\\/#listItem\",\"position\":4,\"name\":\"How to add alt text to images, with real examples\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/uxrobot.ai\\\/ux-audits\\\/guides\\\/topic\\\/accessibility\\\/#listItem\",\"name\":\"Accessibility\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/uxrobot.ai\\\/ux-audits\\\/#organization\",\"name\":\"UX Audits\",\"description\":\"Independent, evidence-led UX audits.\",\"url\":\"https:\\\/\\\/uxrobot.ai\\\/ux-audits\\\/\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/uxrobot.ai\\\/ux-audits\\\/guides\\\/how-to-add-alt-text\\\/#webpage\",\"url\":\"https:\\\/\\\/uxrobot.ai\\\/ux-audits\\\/guides\\\/how-to-add-alt-text\\\/\",\"name\":\"How to add alt text to images, with real examples - UX Audits\",\"description\":\"How to add alt text to images in HTML, WordPress, Shopify, Squarespace, Word and Google Docs, how to write it well, and real examples of good and bad alt text.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/uxrobot.ai\\\/ux-audits\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/uxrobot.ai\\\/ux-audits\\\/guides\\\/how-to-add-alt-text\\\/#breadcrumblist\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/uxrobot.ai\\\/ux-audits\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/guide-how-to-add-alt-text-how-to-add-alt-text-featured.jpg\",\"@id\":\"https:\\\/\\\/uxrobot.ai\\\/ux-audits\\\/guides\\\/how-to-add-alt-text\\\/#mainImage\",\"width\":780,\"height\":439,\"caption\":\"The top of Happy Menu's home page on a phone, with the Happy Menu logo at the top left marked with a red box because the image has no alt text\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/uxrobot.ai\\\/ux-audits\\\/guides\\\/how-to-add-alt-text\\\/#mainImage\"},\"datePublished\":\"2026-11-16T06:14:03+11:00\",\"dateModified\":\"2026-11-16T06:14:03+11:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/uxrobot.ai\\\/ux-audits\\\/#website\",\"url\":\"https:\\\/\\\/uxrobot.ai\\\/ux-audits\\\/\",\"name\":\"UX Audits\",\"description\":\"Independent, evidence-led UX audits.\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/uxrobot.ai\\\/ux-audits\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to add alt text to images, with real examples - UX Audits","description":"How to add alt text to images in HTML, WordPress, Shopify, Squarespace, Word and Google Docs, how to write it well, and real examples of good and bad alt text.","canonical_url":"https:\/\/uxrobot.ai\/ux-audits\/guides\/how-to-add-alt-text\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/uxrobot.ai\/ux-audits\/guides\/how-to-add-alt-text\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/uxrobot.ai\/ux-audits\/#listItem","position":1,"name":"Home","item":"https:\/\/uxrobot.ai\/ux-audits\/","nextItem":{"@type":"ListItem","@id":"https:\/\/uxrobot.ai\/ux-audits\/guides\/#listItem","name":"Guides"}},{"@type":"ListItem","@id":"https:\/\/uxrobot.ai\/ux-audits\/guides\/#listItem","position":2,"name":"Guides","item":"https:\/\/uxrobot.ai\/ux-audits\/guides\/","nextItem":{"@type":"ListItem","@id":"https:\/\/uxrobot.ai\/ux-audits\/guides\/topic\/accessibility\/#listItem","name":"Accessibility"},"previousItem":{"@type":"ListItem","@id":"https:\/\/uxrobot.ai\/ux-audits\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/uxrobot.ai\/ux-audits\/guides\/topic\/accessibility\/#listItem","position":3,"name":"Accessibility","item":"https:\/\/uxrobot.ai\/ux-audits\/guides\/topic\/accessibility\/","nextItem":{"@type":"ListItem","@id":"https:\/\/uxrobot.ai\/ux-audits\/guides\/how-to-add-alt-text\/#listItem","name":"How to add alt text to images, with real examples"},"previousItem":{"@type":"ListItem","@id":"https:\/\/uxrobot.ai\/ux-audits\/guides\/#listItem","name":"Guides"}},{"@type":"ListItem","@id":"https:\/\/uxrobot.ai\/ux-audits\/guides\/how-to-add-alt-text\/#listItem","position":4,"name":"How to add alt text to images, with real examples","previousItem":{"@type":"ListItem","@id":"https:\/\/uxrobot.ai\/ux-audits\/guides\/topic\/accessibility\/#listItem","name":"Accessibility"}}]},{"@type":"Organization","@id":"https:\/\/uxrobot.ai\/ux-audits\/#organization","name":"UX Audits","description":"Independent, evidence-led UX audits.","url":"https:\/\/uxrobot.ai\/ux-audits\/"},{"@type":"WebPage","@id":"https:\/\/uxrobot.ai\/ux-audits\/guides\/how-to-add-alt-text\/#webpage","url":"https:\/\/uxrobot.ai\/ux-audits\/guides\/how-to-add-alt-text\/","name":"How to add alt text to images, with real examples - UX Audits","description":"How to add alt text to images in HTML, WordPress, Shopify, Squarespace, Word and Google Docs, how to write it well, and real examples of good and bad alt text.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/uxrobot.ai\/ux-audits\/#website"},"breadcrumb":{"@id":"https:\/\/uxrobot.ai\/ux-audits\/guides\/how-to-add-alt-text\/#breadcrumblist"},"image":{"@type":"ImageObject","url":"https:\/\/uxrobot.ai\/ux-audits\/wp-content\/uploads\/2026\/11\/guide-how-to-add-alt-text-how-to-add-alt-text-featured.jpg","@id":"https:\/\/uxrobot.ai\/ux-audits\/guides\/how-to-add-alt-text\/#mainImage","width":780,"height":439,"caption":"The top of Happy Menu's home page on a phone, with the Happy Menu logo at the top left marked with a red box because the image has no alt text"},"primaryImageOfPage":{"@id":"https:\/\/uxrobot.ai\/ux-audits\/guides\/how-to-add-alt-text\/#mainImage"},"datePublished":"2026-11-16T06:14:03+11:00","dateModified":"2026-11-16T06:14:03+11:00"},{"@type":"WebSite","@id":"https:\/\/uxrobot.ai\/ux-audits\/#website","url":"https:\/\/uxrobot.ai\/ux-audits\/","name":"UX Audits","description":"Independent, evidence-led UX audits.","inLanguage":"en-US","publisher":{"@id":"https:\/\/uxrobot.ai\/ux-audits\/#organization"}}]},"og:locale":"en_US","og:site_name":"UX Audits - Independent, evidence-led UX audits.","og:type":"article","og:title":"How to add alt text to images, with real examples - UX Audits","og:description":"How to add alt text to images in HTML, WordPress, Shopify, Squarespace, Word and Google Docs, how to write it well, and real examples of good and bad alt text.","og:url":"https:\/\/uxrobot.ai\/ux-audits\/guides\/how-to-add-alt-text\/","article:published_time":"2026-11-15T19:14:03+00:00","article:modified_time":"2026-11-15T19:14:03+00:00","twitter:card":"summary_large_image","twitter:title":"How to add alt text to images, with real examples - UX Audits","twitter:description":"How to add alt text to images in HTML, WordPress, Shopify, Squarespace, Word and Google Docs, how to write it well, and real examples of good and bad alt text."},"aioseo_meta_data":{"post_id":"521","title":null,"description":null,"keywords":null,"keyphrases":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_custom_url":null,"og_image_custom_fields":null,"og_image_url":null,"og_image_width":null,"og_image_height":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_image_url":null,"twitter_title":null,"twitter_description":null,"schema_type":"default","schema_type_options":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null,"created":"2026-11-15 19:32:07","updated":"2026-11-15 19:32:07"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/uxrobot.ai\/ux-audits\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/uxrobot.ai\/ux-audits\/guides\/\" title=\"Guides\">Guides<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/uxrobot.ai\/ux-audits\/guides\/topic\/accessibility\/\" title=\"Accessibility\">Accessibility<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to add alt text to images, with real examples\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/uxrobot.ai\/ux-audits\/"},{"label":"Guides","link":"https:\/\/uxrobot.ai\/ux-audits\/guides\/"},{"label":"Accessibility","link":"https:\/\/uxrobot.ai\/ux-audits\/guides\/topic\/accessibility\/"},{"label":"How to add alt text to images, with real examples","link":"https:\/\/uxrobot.ai\/ux-audits\/guides\/how-to-add-alt-text\/"}],"_links":{"self":[{"href":"https:\/\/uxrobot.ai\/ux-audits\/wp-json\/wp\/v2\/guides\/521","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/uxrobot.ai\/ux-audits\/wp-json\/wp\/v2\/guides"}],"about":[{"href":"https:\/\/uxrobot.ai\/ux-audits\/wp-json\/wp\/v2\/types\/guide"}],"version-history":[{"count":1,"href":"https:\/\/uxrobot.ai\/ux-audits\/wp-json\/wp\/v2\/guides\/521\/revisions"}],"predecessor-version":[{"id":522,"href":"https:\/\/uxrobot.ai\/ux-audits\/wp-json\/wp\/v2\/guides\/521\/revisions\/522"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/uxrobot.ai\/ux-audits\/wp-json\/wp\/v2\/media\/518"}],"wp:attachment":[{"href":"https:\/\/uxrobot.ai\/ux-audits\/wp-json\/wp\/v2\/media?parent=521"}],"wp:term":[{"taxonomy":"guide_topic","embeddable":true,"href":"https:\/\/uxrobot.ai\/ux-audits\/wp-json\/wp\/v2\/guide-topics?post=521"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}