1 Why this criterion exists
Non-text content is everywhere on the web: images, icons, charts, audio, video, and more. For people who cannot perceive that content visually or aurally, it becomes a barrier unless there is a text alternative that conveys the same information or function. WCAG Success Criterion 1.1.1, Non-text Content, exists to ensure that all non-text content has a text alternative that serves an equivalent purpose. This criterion is foundational to digital accessibility because it underpins so many other success criteria. Without a text alternative, a screen reader user hears nothing for an image, or worse, hears the file name, which is rarely meaningful. The criterion applies to all non-text content, whether it is a simple decorative image, a complex infographic, a CAPTCHA, or a pre-recorded audio-only file. The goal is not to describe every visual detail, but to provide the same information or functionality that the non-text content provides to sighted users. This is why alt text is often called a judgment call: there is no single correct answer for every image. The appropriate text alternative depends on context, purpose, and the surrounding content. A logo might need the company name, while the same logo used as a decorative element might need empty alt. The criterion forces authors to think about why the image is there and what it communicates, rather than treating alt text as a checkbox to be filled with any text.
2 Who it protects
The primary beneficiaries of SC 1.1.1 are people who are blind or have low vision who use screen readers or braille displays. For these users, text alternatives are the only way to access information conveyed by images, icons, and other non-text elements. However, the criterion also protects people with cognitive disabilities who may struggle to interpret images without accompanying text, and people who cannot see images due to technical limitations such as slow internet connections, text-only browsers, or when images fail to load. Additionally, text alternatives benefit users who are deafblind and rely on braille output, as well as users with reading disabilities who may use text-to-speech tools that read alt text aloud. It is important to note that the criterion covers more than just images: audio-only content needs a transcript, video-only content needs an audio description or text alternative, and interactive controls like image buttons need a name that describes their function. When done well, text alternatives create a more inclusive experience for everyone, including users who might be in a noisy environment where they cannot hear audio, or users who prefer to read text rather than view images. The criterion is not about dumbing down visual content; it is about providing equivalent access. By considering the needs of these users, authors can create content that is robust and flexible, working across different devices and assistive technologies. This aligns with the Perceivable principle, ensuring that information is available in ways that all users can perceive.
3 How conformance is measured
Conformance to SC 1.1.1 is measured by checking that every non-text element has a text alternative that serves an equivalent purpose. For images, this means an alt attribute that is appropriate for the context. Automated tools can detect missing alt attributes, but they cannot judge whether the alt text is meaningful or correct. Therefore, human judgment is essential. The criterion allows for several types of text alternatives: short text alternatives for simple images, long text alternatives for complex images like charts or diagrams, and empty alt text for decorative images. For functional images, such as image buttons or image links, the text alternative should describe the function, not the visual appearance. For example, a magnifying glass icon used as a search button should have alt text like "Search," not "magnifying glass." For images of text, the text alternative should be the same as the text in the image, unless the image is purely decorative or the text is part of a logo. The criterion also applies to CAPTCHAs, which must have a text alternative that identifies the purpose of the CAPTCHA and provides an alternative form of the CAPTCHA for different sensory modalities. Audio-only content must have a transcript, and video-only content must have either an audio description or a text alternative. When evaluating conformance, testers should verify that the text alternative is accurate, concise, and serves the same purpose as the non-text content. This often requires checking the page in context, as the same image might need different alt text depending on its use. For example, an image of a person using a wheelchair might be decorative on a general page about accessibility, but informative on a page about wheelchair-accessible facilities. The measurement is not about the presence of alt text, but about its appropriateness.
4 Where teams usually slip
One of the most common mistakes is treating alt text as a checkbox: filling it with the file name, a generic description, or redundant text that duplicates nearby captions. Teams often slip by using alt text that is too verbose, such as describing every visual detail of a complex image, which can overwhelm screen reader users. Conversely, some teams provide alt text that is too vague, like "image" or "photo," which offers no useful information. Another frequent slip is failing to mark decorative images with empty alt text, causing screen readers to announce unnecessary content and creating noise for users. Teams also struggle with functional images, such as icons that are links or buttons, where the alt text describes the icon rather than the action. For example, a trash can icon might have alt text "trash can" instead of "Delete." Complex images like charts and graphs are often given a short alt text that does not convey the data, and no long description is provided. Teams may also forget to provide text alternatives for non-image non-text content, such as audio-only files, video-only content, and CAPTCHAs. Inconsistent alt text across a site is another issue: the same logo might have different alt text on different pages, confusing users. Finally, teams sometimes rely solely on automated tools that flag missing alt attributes, but these tools cannot catch poor-quality alt text. This leads to a false sense of compliance. The root cause is often a lack of understanding of the purpose of alt text and the context in which it is used. Without training and manual review, these slips persist and create barriers for users who depend on text alternatives.
5 Fixing it in your markup
To fix alt text issues, start by evaluating each non-text element in context. For images, determine whether the image is decorative, informative, functional, or complex. Decorative images should have empty alt text (alt="") or be implemented as CSS background images, so they are ignored by assistive technology. Informative images need a concise text alternative that conveys the essential information. For example, a photo of a chart showing sales trends might have alt text that summarizes the key trend, with a link to a full data table for details. Functional images, such as image buttons, need alt text that describes the action, not the image. For instance, a printer icon that triggers printing should have alt text "Print." Complex images like infographics or diagrams require a short alt text that identifies the image and a longer description elsewhere on the page, either in visible text or via a link to a separate page. This long description should be associated with the image using aria-describedby or by placing it immediately after the image. For images of text, the alt text should be the same as the text in the image, but it is better to use actual text instead of images of text whenever possible. For audio-only content, provide a transcript. For video-only content, provide an audio description or a text alternative. For CAPTCHAs, provide a text alternative that explains the purpose and offer an alternative CAPTCHA using a different modality. When writing alt text, be concise, avoid redundancy, and do not include phrases like "image of" or "picture of." Use proper punctuation and grammar. Test your alt text by listening to it with a screen reader to ensure it makes sense in context. Remember that alt text is not just for screen readers; it also appears when images fail to load, so it should be useful in that scenario as well. By following these guidelines, you can ensure that your non-text content is accessible to all users.
6 Testing before you ship
Testing for SC 1.1.1 requires a combination of automated and manual methods. Automated tools can quickly identify images with missing alt attributes, but they cannot assess the quality of alt text. Therefore, manual review is essential. Start by using an automated accessibility checker to flag any images without alt attributes. Then, for each image, examine the alt text in context. Ask yourself: if I could not see this image, would this alt text give me the same information or function? For functional images, does the alt text describe the action? For complex images, is there a long description available? For decorative images, is the alt attribute empty? Use a screen reader to listen to how the alt text is announced. This can reveal issues like redundant text or awkward phrasing. For example, if the alt text ends with a period, the screen reader may pause, which might be desirable or not depending on context. Also, check for images that are implemented as CSS backgrounds; these are invisible to screen readers, so if they convey information, they need a text alternative. For audio-only content, verify that a transcript is available and accurate. For video-only content, check that an audio description or text alternative is provided. For CAPTCHAs, test that the alternative CAPTCHA works and is accessible. Additionally, test with different screen readers and browsers, as behavior can vary. However, avoid naming specific products in your testing documentation; focus on the user experience. Finally, involve users with disabilities in testing when possible, as they can provide valuable feedback on the effectiveness of your text alternatives. Remember that conformance is not a one-time event; as content changes, alt text must be reviewed and updated. By integrating these testing practices into your workflow, you can catch issues before they reach users and ensure that your non-text content is truly accessible.
7 Frequently asked questions
What is the difference between alt text and a caption? Alt text is a text alternative that replaces the image for users who cannot see it, while a caption is visible text that accompanies the image for all users. Alt text should not duplicate the caption; instead, it should provide the same information or function as the image. If the caption already describes the image, the alt text might be empty or simply identify the image. How long should alt text be? There is no strict character limit, but alt text should be concise, typically no more than a sentence or two. For complex images, provide a short alt text and a longer description elsewhere. The goal is to be as brief as possible while still conveying the necessary information. Should I include "image of" in alt text? No, screen readers already announce that an element is an image, so including "image of" is redundant. Just provide the description directly. What about images that are links? The alt text should describe the destination or function of the link, not the image itself. For example, a logo that links to the home page should have alt text like "Home" or the company name, not "logo." How do I handle decorative images? Use empty alt text (alt="") or CSS background images so that screen readers ignore them. This reduces noise and allows users to focus on meaningful content. What about complex images like charts? Provide a short alt text that summarizes the chart's purpose, and then provide a long description in the surrounding text or via a link. The long description should include the data and trends. Can I use automated tools to check alt text? Automated tools can detect missing alt attributes, but they cannot judge the quality of alt text. Manual review is always needed. Finally, remember that alt text is a judgment call; there is often no single correct answer, but by considering the context and the user's needs, you can make informed decisions that enhance accessibility for everyone.