diff --git a/__tests__/src/rules/role-supports-aria-props-test.js b/__tests__/src/rules/role-supports-aria-props-test.js
index 801b747c2..5aa8019d8 100644
--- a/__tests__/src/rules/role-supports-aria-props-test.js
+++ b/__tests__/src/rules/role-supports-aria-props-test.js
@@ -94,6 +94,7 @@ ruleTester.run('role-supports-aria-props', rule, {
{ code: '' },
{ code: '' },
{ code: '' },
+ { code: '' },
{ code: '' },
{ code: '' },
{ code: '' },
@@ -115,6 +116,7 @@ ruleTester.run('role-supports-aria-props', rule, {
{ code: '' },
{ code: '' },
{ code: '' },
+ { code: '' },
{ code: '' },
{ code: '' },
{ code: '' },
@@ -136,6 +138,7 @@ ruleTester.run('role-supports-aria-props', rule, {
{ code: '' },
{ code: '' },
{ code: '' },
+ { code: '' },
{ code: '' },
{ code: '' },
{ code: '' },
@@ -552,22 +555,10 @@ ruleTester.run('role-supports-aria-props', rule, {
code: '',
errors: [errorMessage('aria-invalid', 'link', 'link', true)],
},
- {
- code: '',
- errors: [errorMessage('aria-haspopup', 'link', 'link', true)],
- },
{
code: '',
errors: [errorMessage('aria-invalid', 'link', 'area', true)],
},
- {
- code: '',
- errors: [errorMessage('aria-haspopup', 'link', 'area', true)],
- },
- {
- code: '',
- errors: [errorMessage('aria-haspopup', 'link', 'a', true)],
- },
{
code: '',
errors: [errorMessage('aria-invalid', 'link', 'a', true)],
diff --git a/package.json b/package.json
index 24fb52c68..c66436228 100644
--- a/package.json
+++ b/package.json
@@ -69,11 +69,11 @@
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.19.0",
- "aria-query": "^4.2.2",
+ "aria-query": "^5.1.1",
"array-includes": "^3.1.5",
"ast-types-flow": "^0.0.7",
"axe-core": "^4.4.3",
- "axobject-query": "^2.2.0",
+ "axobject-query": "^3.1.1",
"damerau-levenshtein": "^1.0.8",
"emoji-regex": "^9.2.2",
"has": "^1.0.3",