Alt tags (short for alternative text) are HTML attributes used to describe the content of an image on a webpage. They are used to provide a textual description of an image for users who are visually impaired or who have images turned off in their web browser. Alt tags can also help search engines better understand the content of the webpage, which can improve the website’s visibility and ranking in search results. Alt tags should be concise and descriptive, and they should accurately describe the content of the image. By including alt tags on images, website owners can make their website more accessible and improve the user experience for all visitors.
With recent rulings on the legal requirement to have accessible websites, alt tags are essential. The penalties for ignoring the disability laws are very steep.