We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent29ead03 commitee9e16dCopy full SHA for ee9e16d
tests/a11y-no-title-attribute.js
@@ -30,6 +30,7 @@ ruleTester.run('a11y-no-title-attribute', rule, {
30
},
31
32
{
33
+// Note: we are only checking semantic elements. We cannot make assumptions about how a React Components is using the title prop.
34
code:'<Link title="some title">Submit</Link>',
35
settings:{
36
github:{
@@ -39,7 +40,8 @@ ruleTester.run('a11y-no-title-attribute', rule, {
39
40
41
42
-{// Note: we are only checking semantic elements. We cannot make assumptions about how a React Components is using the title prop.
43
+{
44
45
code:'<Link as="a" title="some title">Submit</Link>',
46
47
],