GlossaryAlt attribute
Alt attribute
The alt attribute provides alternative text for an image if the user for some reason cannot view it (because of slow connection, an error in the src attribute, or if the user uses a screen reader). The alt attribute is also used by search engines to understand the content of an image.
Alt attributes are a key component of on-page SEO, and they are a good way to improve the accessibility of your website.