Nicola Rennie looks at different ways to incorporate alt text in R-based images:
Alt text (short forĀ alternative text) is text that describes the appearance and purpose of an image. Alt text has multiple purposes, the main one being that it aids visually impaired users to better understand your content when the alt text is read aloud by screen readers. Alt text is also used in place of an image if it fails to load, which means that users with poor internet connection are more likely to be able to engage with your content.
The ggplot2 example was an interesting one, as I hadn’t ever added alt text to an image there.