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

feat(lint/noStaticElementInteractions): add rule #2980

Conversation

ryo-ebata
Copy link
Contributor

@ryo-ebata ryo-ebata commented May 25, 2024

Summary

Enforce that non-interactive, visible elements (such as <div>) that have click handlers use the role attribute.

#527

Test Plan

Added snaps for valid/invalid cases

@github-actions github-actions bot added A-CLI Area: CLI A-Project Area: project A-Linter Area: linter L-JavaScript Language: JavaScript and super languages A-Diagnostic Area: diagnostocis labels May 25, 2024
@ryo-ebata
Copy link
Contributor Author

I close this, for resolve conflicts.

@ryo-ebata ryo-ebata closed this May 25, 2024
@ryo-ebata ryo-ebata deleted the ryo-ebata/no-static-element-interactions branch May 25, 2024 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-CLI Area: CLI A-Diagnostic Area: diagnostocis A-Linter Area: linter A-Project Area: project L-JavaScript Language: JavaScript and super languages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant