Skip to content
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

[Accessibility] Add alt param to capturePlot() #336

Open
jooyoungseo opened this issue Oct 1, 2022 · 0 comments
Open

[Accessibility] Add alt param to capturePlot() #336

jooyoungseo opened this issue Oct 1, 2022 · 0 comments

Comments

@jooyoungseo
Copy link

Unlike plotTag(), capturePlot() does not have an alt param, which is a critical component for accessibility.

Please add this with default value as "Plot object" so that any NULL-alt plots can be also recognized by screen readers.

If possible, please add a condition to check whether current graph is ggplot2 object having alt attribute so that g$labels$alt can be passed to alt param when available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant