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

jsx-a11y/no-interactive-element-to-noninteractive-role for canvas #648

Closed
markwoon opened this issue Nov 17, 2019 · 2 comments · Fixed by #796
Closed

jsx-a11y/no-interactive-element-to-noninteractive-role for canvas #648

markwoon opened this issue Nov 17, 2019 · 2 comments · Fixed by #796

Comments

@markwoon
Copy link
Contributor

This rule currently does not allow canvas elements to be given the img role even though that's the recommendation (e.g. http://pauljadam.com/demos/canvas.html).

Would it be possible to add it as a standard exception the way tr is right now?

@SudharsanSukumar
Copy link

Can we get some traction on this?

@ljharb
Copy link
Member

ljharb commented May 25, 2021

@SudharsanSukumar PRs are welcome

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

Successfully merging a pull request may close this issue.

3 participants