Skip to content

Commit dd3636e

Browse files
authored
Merge pull request #377 from evcohen/add-test-cases-to-role-supports-props
Add aria-current test cases to role-supports-aria-props
2 parents be8ed74 + 7fbd9d6 commit dd3636e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ ruleTester.run('role-supports-aria-props', rule, {
7979
{ code: '<a href="#" aria-atomic />' },
8080
{ code: '<a href="#" aria-busy />' },
8181
{ code: '<a href="#" aria-controls />' },
82+
{ code: '<a href="#" aria-current />' },
8283
{ code: '<a href="#" aria-describedby />' },
8384
{ code: '<a href="#" aria-disabled />' },
8485
{ code: '<a href="#" aria-dropeffect />' },
@@ -410,6 +411,7 @@ ruleTester.run('role-supports-aria-props', rule, {
410411
{ code: '<h5 aria-hidden />' },
411412
{ code: '<h6 aria-hidden />' },
412413
{ code: '<hr aria-hidden />' },
414+
{ code: '<li aria-current />' },
413415
{ code: '<li aria-expanded />' },
414416
{ code: '<meter aria-atomic />' },
415417
{ code: '<nav aria-expanded />' },

0 commit comments

Comments
 (0)