You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -31,7 +30,6 @@ import isPresentationRole from '../util/isPresentationRole';
31
30
32
31
consterrorMessage='Avoid non-native interactive elements. If using native HTML is not possible, add an appropriate role and support for tabbing, mouse, keyboard, and touch inputs to an interactive content element.';
33
32
34
-
constdomElements=[...dom.keys()];
35
33
constdefaultInteractiveProps=[].concat(
36
34
eventHandlersByType.focus,
37
35
eventHandlersByType.keyboard,
@@ -69,7 +67,7 @@ export default ({
69
67
&&getPropValue(getProp(attributes,prop))!=null
70
68
));
71
69
72
-
if(!includes(domElements,type)){
70
+
if(!dom.has(type)){
73
71
// Do not test higher level JSX components, as we do not know what
0 commit comments