diff --git a/__tests__/src/rules/role-supports-aria-props-test.js b/__tests__/src/rules/role-supports-aria-props-test.js index 16ba30509..bf2ffc3b4 100644 --- a/__tests__/src/rules/role-supports-aria-props-test.js +++ b/__tests__/src/rules/role-supports-aria-props-test.js @@ -381,6 +381,8 @@ ruleTester.run('role-supports-aria-props', rule, { { code: '' }, { code: '' }, { code: '' }, + { code: '
' }, + { code: '' }, ].concat(validTests).map(parserOptionsMapper), diff --git a/package.json b/package.json index f23717ebf..2ececba22 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "license": "MIT", "dependencies": { "@babel/runtime": "^7.10.2", - "aria-query": "^4.2.0", + "aria-query": "^4.2.2", "array-includes": "^3.1.1", "ast-types-flow": "^0.0.7", "axe-core": "^3.5.4", diff --git a/src/util/isNonInteractiveElement.js b/src/util/isNonInteractiveElement.js index 760062ade..c70503ac6 100644 --- a/src/util/isNonInteractiveElement.js +++ b/src/util/isNonInteractiveElement.js @@ -149,6 +149,13 @@ const isNonInteractiveElement = ( if (!dom.has(tagName)) { return false; } + //