Skip to content

Commit 7b3cda3

Browse files
jessebeachljharb
authored andcommitted
[Deps] update aria-query, axobject-query
1 parent bccf0ae commit 7b3cda3

File tree

2 files changed

+5
-14
lines changed

2 files changed

+5
-14
lines changed

__tests__/src/rules/role-supports-aria-props-test.js

+3-12
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ ruleTester.run('role-supports-aria-props', rule, {
9494
{ code: '<a href="#" aria-disabled />' },
9595
{ code: '<a href="#" aria-dropeffect />' },
9696
{ code: '<a href="#" aria-flowto />' },
97+
{ code: '<a href="#" aria-haspopup />' },
9798
{ code: '<a href="#" aria-grabbed />' },
9899
{ code: '<a href="#" aria-hidden />' },
99100
{ code: '<a href="#" aria-label />' },
@@ -115,6 +116,7 @@ ruleTester.run('role-supports-aria-props', rule, {
115116
{ code: '<area href="#" aria-dropeffect />' },
116117
{ code: '<area href="#" aria-flowto />' },
117118
{ code: '<area href="#" aria-grabbed />' },
119+
{ code: '<area href="#" aria-haspopup />' },
118120
{ code: '<area href="#" aria-hidden />' },
119121
{ code: '<area href="#" aria-label />' },
120122
{ code: '<area href="#" aria-labelledby />' },
@@ -136,6 +138,7 @@ ruleTester.run('role-supports-aria-props', rule, {
136138
{ code: '<link href="#" aria-flowto />' },
137139
{ code: '<link href="#" aria-grabbed />' },
138140
{ code: '<link href="#" aria-hidden />' },
141+
{ code: '<link href="#" aria-haspopup />' },
139142
{ code: '<link href="#" aria-label />' },
140143
{ code: '<link href="#" aria-labelledby />' },
141144
{ code: '<link href="#" aria-live />' },
@@ -552,22 +555,10 @@ ruleTester.run('role-supports-aria-props', rule, {
552555
code: '<link href="#" aria-invalid />',
553556
errors: [errorMessage('aria-invalid', 'link', 'link', true)],
554557
},
555-
{
556-
code: '<link href="#" aria-haspopup />',
557-
errors: [errorMessage('aria-haspopup', 'link', 'link', true)],
558-
},
559558
{
560559
code: '<area href="#" aria-invalid />',
561560
errors: [errorMessage('aria-invalid', 'link', 'area', true)],
562561
},
563-
{
564-
code: '<area href="#" aria-haspopup />',
565-
errors: [errorMessage('aria-haspopup', 'link', 'area', true)],
566-
},
567-
{
568-
code: '<a href="#" aria-haspopup />',
569-
errors: [errorMessage('aria-haspopup', 'link', 'a', true)],
570-
},
571562
{
572563
code: '<a href="#" aria-invalid />',
573564
errors: [errorMessage('aria-invalid', 'link', 'a', true)],

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@
6969
"license": "MIT",
7070
"dependencies": {
7171
"@babel/runtime": "^7.19.0",
72-
"aria-query": "^4.2.2",
72+
"aria-query": "^5.1.1",
7373
"array-includes": "^3.1.5",
7474
"ast-types-flow": "^0.0.7",
7575
"axe-core": "^4.4.3",
76-
"axobject-query": "^2.2.0",
76+
"axobject-query": "^3.1.1",
7777
"damerau-levenshtein": "^1.0.8",
7878
"emoji-regex": "^9.2.2",
7979
"has": "^1.0.3",

0 commit comments

Comments
 (0)