Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ee9e16d

Browse files
lint
1 parent 29ead03 commit ee9e16d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/a11y-no-title-attribute.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ ruleTester.run('a11y-no-title-attribute', rule, {
3030
},
3131
},
3232
{
33+
// Note: we are only checking semantic elements. We cannot make assumptions about how a React Components is using the title prop.
3334
code: '<Link title="some title">Submit</Link>',
3435
settings: {
3536
github: {
@@ -39,7 +40,8 @@ ruleTester.run('a11y-no-title-attribute', rule, {
3940
},
4041
},
4142
},
42-
{ // Note: we are only checking semantic elements. We cannot make assumptions about how a React Components is using the title prop.
43+
{
44+
// Note: we are only checking semantic elements. We cannot make assumptions about how a React Components is using the title prop.
4345
code: '<Link as="a" title="some title">Submit</Link>',
4446
},
4547
],

0 commit comments

Comments
 (0)