-
-
Notifications
You must be signed in to change notification settings - Fork 635
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
add window to isInteractive #940
base: main
Are you sure you want to change the base?
Changes from all commits
4df405f
82d0a1a
129e17e
bcfa012
63023ae
cb83c99
c057166
453785f
00099a7
01bd8bd
59752a7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ import flatMap from 'array.prototype.flatmap'; | |
const roles = [...rolesMap.keys()]; | ||
const interactiveRoles = roles.filter((name) => ( | ||
!rolesMap.get(name).abstract | ||
&& rolesMap.get(name).superClass.some((klasses) => includes(klasses, 'widget')) | ||
&& rolesMap.get(name).superClass.some((klasses) => includes(klasses, 'widget') || includes(klasses, 'window')) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I find this change to be the easiest way to implement this suggestion. But I realized that this change will also impact interactive-supports-focus, where the linter will throw an error if a My case for requesting @jessebeach would do you have any concerns with just adding custom checks for |
||
)); | ||
|
||
// 'toolbar' does not descend from widget, but it does support | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's fair to expect dialog to have a label according to this.