Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitee9e16d

Browse files
lint
1 parent29ead03 commitee9e16d

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)

[8]ページ先頭

©2009-2025 Movatter.jp