@@ -57,9 +57,6 @@ ruleTester.run('role-supports-aria-props', rule, {
5757 { code : '<a href="#" aria-owns />' } ,
5858 { code : '<a href="#" aria-relevant />' } ,
5959
60- // this will have global
61- { code : '<a aria-checked />' } ,
62-
6360 // AREA TESTS - implicit role is `link`
6461 { code : '<area href="#" aria-expanded />' } ,
6562 { code : '<area href="#" aria-atomic />' } ,
@@ -78,9 +75,6 @@ ruleTester.run('role-supports-aria-props', rule, {
7875 { code : '<area href="#" aria-owns />' } ,
7976 { code : '<area href="#" aria-relevant />' } ,
8077
81- // this will have global
82- { code : '<area aria-checked />' } ,
83-
8478 // LINK TESTS - implicit role is `link`
8579 { code : '<link href="#" aria-expanded />' } ,
8680 { code : '<link href="#" aria-atomic />' } ,
@@ -348,6 +342,14 @@ ruleTester.run('role-supports-aria-props', rule, {
348342
349343 invalid : [
350344 // implicit basic checks
345+ {
346+ code : '<area aria-checked />' ,
347+ errors : [ getErrorMessage ( 'aria-checked' , 'generic' ) ] ,
348+ } ,
349+ {
350+ code : '<a aria-checked />' ,
351+ errors : [ getErrorMessage ( 'aria-checked' , 'generic' ) ] ,
352+ } ,
351353 {
352354 code : '<a href="#" aria-checked />' ,
353355 errors : [ getErrorMessage ( 'aria-checked' , 'link' ) ] ,
0 commit comments