-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Animints Don't Render Alt Text #106
Comments
Some sources that might be helpful to this future contributor, in alphabetical order: |
An alternative solution is to add a function that lets users add alt text to their animints. That's probably easier than figuring out how |
I thought alt text was only for images? Animints are rendered as |
You're right. However, I'd consider an SVG an image, even though it's not an Yeah, I think I've never looked into how |
Two asides:
|
you are right, each animint is actually a table containing several svg elements. |
That makes sense. So the person would be modifying the JS code and creating a |
You are right, according to that page, we just need to add a
For existing code like animint(timeSeries=ggplot..., scatter=ggplot...) We could provide some reasonable default like "plot of timeSeries" and "plot of scatter" animint(timeSeries=ggplot()+theme_animint(title="some plot") which we could render in JS as <title id="title_timeSeries">some plot</title> |
That makes sense. I feel conflicted about the default alt txt idea, but I'll think about it and give my thoughts after I'm done with the reference website stuff. :> |
In R Markdown, it's possible to use the
fig.alt
knitr code chunk option to add alt text to static data visualizations. Like this:But this option doesn't work for animints. So this doesn't work right:
Maybe a future GSOC contributor can fix this as part of a larger Accessibility for Animint2 project?
The text was updated successfully, but these errors were encountered: