Glossary

Alternative text

Written by Accessibility.com Team | Dec 20, 2022

Alternative text is a textual substitute for non-text content in web pages.

Web page authors must provide alternative text that represents the content and function of their images. According to WebAIM, alternative text can be presented in two ways:

  • Within the alt attribute of the <img> element
  • Within visible body text near the image, linked from either the image or a text link adjacent to the image