For plotly objects, sets the figure-level aria-label and a hidden
description div. For ggplot, attaches the alt text as an attribute that
Quarto renders as <img alt="...">.
Examples
if (requireNamespace("ggplot2", quietly = TRUE)) {
library(ggplot2)
p <- ggplot(mtcars, aes(mpg, wt)) + geom_point()
a11y_alt_text(p, "Scatter of car weight against fuel economy.")
}