-
-
Notifications
You must be signed in to change notification settings - Fork 638
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
[no-noninteractive-element-interactions] should accept the dialog role #932
Comments
Good points, let me investigate a bit. |
👋 @jessebeach any more thoughts on this? anything we can do to help? |
I'm consulting the ARIA oracle |
So, @mcking65 and I had a chat. Here are his thoughts:
So, only roles descended from https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/src/util/isInteractiveRole.js#L11 The change that we will make is, including roles descended from To be determined how we deal with the focus issue in this plugin, if at all. How does that all sound? |
@jessebeach sounds great! thank you for the background and careful consideration. let me know if you want review or a PR! |
Thank you @jessebeach for looking into this! It sounds like a reasonable approach for me as well. |
@sangikhan29, a million apologies! I should have addressed you as well as @ckundo in my responses. This is after all your issue; you brought it up. |
@jessebeach @ljharb would you like us to take a stab at a PR? cc @sangikhan29 |
Yes please :-) that’s what the help wanted label means. |
Start with the files in the utility, such as isInteractive. |
Set the 'window' role to be interactive. |
Dialog has to handle events such as moving or resizing so dialog should be able to accept event handler.
Also refer to a similar previous issue about listening to
esc
to dismiss a dialogThe text was updated successfully, but these errors were encountered: