Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kendallgassner committed Jul 17, 2023
1 parent 29ead03 commit ee9e16d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/a11y-no-title-attribute.js
Expand Up @@ -30,6 +30,7 @@ ruleTester.run('a11y-no-title-attribute', rule, {
},
},
{
// Note: we are only checking semantic elements. We cannot make assumptions about how a React Components is using the title prop.
code: '<Link title="some title">Submit</Link>',
settings: {
github: {
Expand All @@ -39,7 +40,8 @@ ruleTester.run('a11y-no-title-attribute', rule, {
},
},
},
{ // Note: we are only checking semantic elements. We cannot make assumptions about how a React Components is using the title prop.
{
// Note: we are only checking semantic elements. We cannot make assumptions about how a React Components is using the title prop.
code: '<Link as="a" title="some title">Submit</Link>',
},
],
Expand Down

0 comments on commit ee9e16d

Please sign in to comment.