alt attribute
An attribute on the HTML img element that provides textual alternative content for an image. It is among the most frequently checked items in the WCAG accessibility specifications.
Timeline (last 90 days)
The alt attribute is an attribute on the HTML img element used to provide text alternatives for images, and its values fall into three categories: informative images use text describing equivalent information, decorative images use the empty value alt="", and functional images describe the control's action or destination.
The correct way to write alt must be determined by the image's purpose, and the purpose is information external to the document and cannot be derived from the markup itself; there is no visual basis for distinguishing among these three categories.
The author does not claim that every missing alt is an undisputed WCAG failure; whether a given page is compliant requires judgment based on the page itself, its purpose, and its context.
All Facts (3)
The alt attribute is an attribute on the HTML img element used to provide text alternatives for images, and its values fall into three categories: informative images use text describing equivalent information, decorative images use the empty value alt="", and functional images describe the control's action or destination.
50%UnverifiedThe correct way to write alt must be determined by the image's purpose, and the purpose is information external to the document and cannot be derived from the markup itself; there is no visual basis for distinguishing among these three categories.
50%UnverifiedThe author does not claim that every missing alt is an undisputed WCAG failure; whether a given page is compliant requires judgment based on the page itself, its purpose, and its context.
50%