Alt text is an image description on websites that conveys the relevant information or function of an image. You usually don’t see the alt text unless the image fails to load. The short text in the source code is read aloud by screen readers when people with visual impairments use the page.
Search engines also read the alt text to better understand the image’s content and categorize it in image search results.
Good alt text describes concisely and as directly as possible what the image shows and, if necessary, what function it serves on the page.