Skip to content

Commit

Permalink
Fix aria-level allowed on elements wit role heading (#704)
Browse files Browse the repository at this point in the history
  • Loading branch information
jessebeach authored and ljharb committed Jun 19, 2020
1 parent 3ac1738 commit d528e8c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions __tests__/src/rules/role-supports-aria-props-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,8 @@ ruleTester.run('role-supports-aria-props', rule, {
{ code: '<textarea aria-hidden />' },
{ code: '<select aria-expanded />' },
{ code: '<datalist aria-expanded />' },
{ code: '<div role="heading" aria-level />'},
{ code: '<div role="heading" aria-level="1" />'}

].concat(validTests).map(parserOptionsMapper),

Expand Down

0 comments on commit d528e8c

Please sign in to comment.