@@ -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 ) ] ,
0 commit comments