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-noninteractive-element-to-interactive-role should support menuitemcheckbox by default #896

Open
fedemp opened this issue Oct 10, 2022 · 0 comments · May be fixed by #950
Open
Assignees

Comments

@fedemp
Copy link

fedemp commented Oct 10, 2022

The title is more a question. Shouldn't said rule support menuitemcheckbox by default?

I see in the recommended settings that the role is missing along with menuitemradio.

li: ['menuitem', 'option', 'row', 'tab', 'treeitem'],

The example mentioned in the rule README attach click and keydown events to menuitemcheckbox.

https://www.w3.org/WAI/ARIA/apg/example-index/menubar/menubar-editor.html

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.

2 participants