|
1 | 1 | ---
|
2 | 2 | source: crates/oxc_linter/src/tester.rs
|
| 3 | +snapshot_kind: text |
3 | 4 | ---
|
4 |
| - ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Unexpected ambagious anchor link text. |
| 5 | + ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Ambiguous text within anchor, screen reader users rely on link text for context. |
5 | 6 | ╭─[anchor_ambiguous_text.tsx:1:1]
|
6 | 7 | 1 │ <a>here</a>;
|
7 | 8 | · ───────────
|
8 | 9 | ╰────
|
| 10 | + help: Avoid using ambiguous text like "here", replace it with more descriptive text that provides context. |
9 | 11 |
|
10 |
| - ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Unexpected ambagious anchor link text. |
| 12 | + ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Ambiguous text within anchor, screen reader users rely on link text for context. |
11 | 13 | ╭─[anchor_ambiguous_text.tsx:1:1]
|
12 | 14 | 1 │ <a>HERE</a>;
|
13 | 15 | · ───────────
|
14 | 16 | ╰────
|
| 17 | + help: Avoid using ambiguous text like "here", replace it with more descriptive text that provides context. |
15 | 18 |
|
16 |
| - ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Unexpected ambagious anchor link text. |
| 19 | + ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Ambiguous text within anchor, screen reader users rely on link text for context. |
17 | 20 | ╭─[anchor_ambiguous_text.tsx:1:1]
|
18 | 21 | 1 │ <a>click here</a>;
|
19 | 22 | · ─────────────────
|
20 | 23 | ╰────
|
| 24 | + help: Avoid using ambiguous text like "click here", replace it with more descriptive text that provides context. |
21 | 25 |
|
22 |
| - ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Unexpected ambagious anchor link text. |
| 26 | + ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Ambiguous text within anchor, screen reader users rely on link text for context. |
23 | 27 | ╭─[anchor_ambiguous_text.tsx:1:1]
|
24 | 28 | 1 │ <a>learn more</a>;
|
25 | 29 | · ─────────────────
|
26 | 30 | ╰────
|
| 31 | + help: Avoid using ambiguous text like "learn more", replace it with more descriptive text that provides context. |
27 | 32 |
|
28 |
| - ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Unexpected ambagious anchor link text. |
| 33 | + ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Ambiguous text within anchor, screen reader users rely on link text for context. |
29 | 34 | ╭─[anchor_ambiguous_text.tsx:1:1]
|
30 | 35 | 1 │ <a>learn more</a>;
|
31 | 36 | · ──────────────────────
|
32 | 37 | ╰────
|
| 38 | + help: Avoid using ambiguous text like "learn more", replace it with more descriptive text that provides context. |
33 | 39 |
|
34 |
| - ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Unexpected ambagious anchor link text. |
| 40 | + ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Ambiguous text within anchor, screen reader users rely on link text for context. |
35 | 41 | ╭─[anchor_ambiguous_text.tsx:1:1]
|
36 | 42 | 1 │ <a>learn more.</a>;
|
37 | 43 | · ──────────────────
|
38 | 44 | ╰────
|
| 45 | + help: Avoid using ambiguous text like "learn more", replace it with more descriptive text that provides context. |
39 | 46 |
|
40 |
| - ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Unexpected ambagious anchor link text. |
| 47 | + ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Ambiguous text within anchor, screen reader users rely on link text for context. |
41 | 48 | ╭─[anchor_ambiguous_text.tsx:1:1]
|
42 | 49 | 1 │ <a>learn more?</a>;
|
43 | 50 | · ──────────────────
|
44 | 51 | ╰────
|
| 52 | + help: Avoid using ambiguous text like "learn more", replace it with more descriptive text that provides context. |
45 | 53 |
|
46 |
| - ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Unexpected ambagious anchor link text. |
| 54 | + ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Ambiguous text within anchor, screen reader users rely on link text for context. |
47 | 55 | ╭─[anchor_ambiguous_text.tsx:1:1]
|
48 | 56 | 1 │ <a>learn more,</a>;
|
49 | 57 | · ──────────────────
|
50 | 58 | ╰────
|
| 59 | + help: Avoid using ambiguous text like "learn more", replace it with more descriptive text that provides context. |
51 | 60 |
|
52 |
| - ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Unexpected ambagious anchor link text. |
| 61 | + ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Ambiguous text within anchor, screen reader users rely on link text for context. |
53 | 62 | ╭─[anchor_ambiguous_text.tsx:1:1]
|
54 | 63 | 1 │ <a>learn more!</a>;
|
55 | 64 | · ──────────────────
|
56 | 65 | ╰────
|
| 66 | + help: Avoid using ambiguous text like "learn more", replace it with more descriptive text that provides context. |
57 | 67 |
|
58 |
| - ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Unexpected ambagious anchor link text. |
| 68 | + ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Ambiguous text within anchor, screen reader users rely on link text for context. |
59 | 69 | ╭─[anchor_ambiguous_text.tsx:1:1]
|
60 | 70 | 1 │ <a>learn more;</a>;
|
61 | 71 | · ──────────────────
|
62 | 72 | ╰────
|
| 73 | + help: Avoid using ambiguous text like "learn more", replace it with more descriptive text that provides context. |
63 | 74 |
|
64 |
| - ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Unexpected ambagious anchor link text. |
| 75 | + ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Ambiguous text within anchor, screen reader users rely on link text for context. |
65 | 76 | ╭─[anchor_ambiguous_text.tsx:1:1]
|
66 | 77 | 1 │ <a>learn more:</a>;
|
67 | 78 | · ──────────────────
|
68 | 79 | ╰────
|
| 80 | + help: Avoid using ambiguous text like "learn more", replace it with more descriptive text that provides context. |
69 | 81 |
|
70 |
| - ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Unexpected ambagious anchor link text. |
| 82 | + ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Ambiguous text within anchor, screen reader users rely on link text for context. |
71 | 83 | ╭─[anchor_ambiguous_text.tsx:1:1]
|
72 | 84 | 1 │ <a>link</a>;
|
73 | 85 | · ───────────
|
74 | 86 | ╰────
|
| 87 | + help: Avoid using ambiguous text like "link", replace it with more descriptive text that provides context. |
75 | 88 |
|
76 |
| - ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Unexpected ambagious anchor link text. |
| 89 | + ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Ambiguous text within anchor, screen reader users rely on link text for context. |
77 | 90 | ╭─[anchor_ambiguous_text.tsx:1:1]
|
78 | 91 | 1 │ <a>a link</a>;
|
79 | 92 | · ─────────────
|
80 | 93 | ╰────
|
| 94 | + help: Avoid using ambiguous text like "a link", replace it with more descriptive text that provides context. |
81 | 95 |
|
82 |
| - ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Unexpected ambagious anchor link text. |
| 96 | + ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Ambiguous text within anchor, screen reader users rely on link text for context. |
83 | 97 | ╭─[anchor_ambiguous_text.tsx:1:1]
|
84 | 98 | 1 │ <a aria-label="click here">something</a>;
|
85 | 99 | · ────────────────────────────────────────
|
86 | 100 | ╰────
|
| 101 | + help: Avoid using ambiguous text like "click here", replace it with more descriptive text that provides context. |
87 | 102 |
|
88 |
| - ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Unexpected ambagious anchor link text. |
| 103 | + ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Ambiguous text within anchor, screen reader users rely on link text for context. |
89 | 104 | ╭─[anchor_ambiguous_text.tsx:1:1]
|
90 | 105 | 1 │ <a> a link </a>;
|
91 | 106 | · ───────────────
|
92 | 107 | ╰────
|
| 108 | + help: Avoid using ambiguous text like "a link", replace it with more descriptive text that provides context. |
93 | 109 |
|
94 |
| - ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Unexpected ambagious anchor link text. |
| 110 | + ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Ambiguous text within anchor, screen reader users rely on link text for context. |
95 | 111 | ╭─[anchor_ambiguous_text.tsx:1:1]
|
96 | 112 | 1 │ <a>a<i></i> link</a>;
|
97 | 113 | · ────────────────────
|
98 | 114 | ╰────
|
| 115 | + help: Avoid using ambiguous text like "a link", replace it with more descriptive text that provides context. |
99 | 116 |
|
100 |
| - ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Unexpected ambagious anchor link text. |
| 117 | + ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Ambiguous text within anchor, screen reader users rely on link text for context. |
101 | 118 | ╭─[anchor_ambiguous_text.tsx:1:1]
|
102 | 119 | 1 │ <a><i></i>a link</a>;
|
103 | 120 | · ────────────────────
|
104 | 121 | ╰────
|
| 122 | + help: Avoid using ambiguous text like "a link", replace it with more descriptive text that provides context. |
105 | 123 |
|
106 |
| - ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Unexpected ambagious anchor link text. |
| 124 | + ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Ambiguous text within anchor, screen reader users rely on link text for context. |
107 | 125 | ╭─[anchor_ambiguous_text.tsx:1:1]
|
108 | 126 | 1 │ <a><span>click</span> here</a>;
|
109 | 127 | · ──────────────────────────────
|
110 | 128 | ╰────
|
| 129 | + help: Avoid using ambiguous text like "click here", replace it with more descriptive text that provides context. |
111 | 130 |
|
112 |
| - ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Unexpected ambagious anchor link text. |
| 131 | + ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Ambiguous text within anchor, screen reader users rely on link text for context. |
113 | 132 | ╭─[anchor_ambiguous_text.tsx:1:1]
|
114 | 133 | 1 │ <a><span> click </span> here</a>;
|
115 | 134 | · ────────────────────────────────
|
116 | 135 | ╰────
|
| 136 | + help: Avoid using ambiguous text like "click here", replace it with more descriptive text that provides context. |
117 | 137 |
|
118 |
| - ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Unexpected ambagious anchor link text. |
| 138 | + ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Ambiguous text within anchor, screen reader users rely on link text for context. |
119 | 139 | ╭─[anchor_ambiguous_text.tsx:1:1]
|
120 | 140 | 1 │ <a><span aria-hidden>more text</span>learn more</a>;
|
121 | 141 | · ───────────────────────────────────────────────────
|
122 | 142 | ╰────
|
| 143 | + help: Avoid using ambiguous text like "learn more", replace it with more descriptive text that provides context. |
123 | 144 |
|
124 |
| - ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Unexpected ambagious anchor link text. |
| 145 | + ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Ambiguous text within anchor, screen reader users rely on link text for context. |
125 | 146 | ╭─[anchor_ambiguous_text.tsx:1:1]
|
126 | 147 | 1 │ <a><span aria-hidden="true">more text</span>learn more</a>;
|
127 | 148 | · ──────────────────────────────────────────────────────────
|
128 | 149 | ╰────
|
| 150 | + help: Avoid using ambiguous text like "learn more", replace it with more descriptive text that provides context. |
129 | 151 |
|
130 |
| - ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Unexpected ambagious anchor link text. |
| 152 | + ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Ambiguous text within anchor, screen reader users rely on link text for context. |
131 | 153 | ╭─[anchor_ambiguous_text.tsx:1:1]
|
132 | 154 | 1 │ <a><img alt="click here"/></a>;
|
133 | 155 | · ──────────────────────────────
|
134 | 156 | ╰────
|
| 157 | + help: Avoid using ambiguous text like "click here", replace it with more descriptive text that provides context. |
135 | 158 |
|
136 |
| - ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Unexpected ambagious anchor link text. |
| 159 | + ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Ambiguous text within anchor, screen reader users rely on link text for context. |
137 | 160 | ╭─[anchor_ambiguous_text.tsx:1:1]
|
138 | 161 | 1 │ <a alt="tutorial on using eslint-plugin-jsx-a11y">click here</a>;
|
139 | 162 | · ────────────────────────────────────────────────────────────────
|
140 | 163 | ╰────
|
| 164 | + help: Avoid using ambiguous text like "click here", replace it with more descriptive text that provides context. |
141 | 165 |
|
142 |
| - ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Unexpected ambagious anchor link text. |
| 166 | + ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Ambiguous text within anchor, screen reader users rely on link text for context. |
143 | 167 | ╭─[anchor_ambiguous_text.tsx:1:1]
|
144 | 168 | 1 │ <a><span alt="tutorial on using eslint-plugin-jsx-a11y">click here</span></a>;
|
145 | 169 | · ─────────────────────────────────────────────────────────────────────────────
|
146 | 170 | ╰────
|
| 171 | + help: Avoid using ambiguous text like "click here", replace it with more descriptive text that provides context. |
147 | 172 |
|
148 |
| - ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Unexpected ambagious anchor link text. |
| 173 | + ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Ambiguous text within anchor, screen reader users rely on link text for context. |
149 | 174 | ╭─[anchor_ambiguous_text.tsx:1:1]
|
150 | 175 | 1 │ <a><CustomElement>click</CustomElement> here</a>;
|
151 | 176 | · ────────────────────────────────────────────────
|
152 | 177 | ╰────
|
| 178 | + help: Avoid using ambiguous text like "click here", replace it with more descriptive text that provides context. |
153 | 179 |
|
154 |
| - ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Unexpected ambagious anchor link text. |
| 180 | + ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Ambiguous text within anchor, screen reader users rely on link text for context. |
155 | 181 | ╭─[anchor_ambiguous_text.tsx:1:1]
|
156 | 182 | 1 │ <Link>here</Link>
|
157 | 183 | · ─────────────────
|
158 | 184 | ╰────
|
| 185 | + help: Avoid using ambiguous text like "here", replace it with more descriptive text that provides context. |
159 | 186 |
|
160 |
| - ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Unexpected ambagious anchor link text. |
| 187 | + ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Ambiguous text within anchor, screen reader users rely on link text for context. |
161 | 188 | ╭─[anchor_ambiguous_text.tsx:1:1]
|
162 | 189 | 1 │ <a><Image alt="click here" /></a>
|
163 | 190 | · ─────────────────────────────────
|
164 | 191 | ╰────
|
| 192 | + help: Avoid using ambiguous text like "click here", replace it with more descriptive text that provides context. |
165 | 193 |
|
166 |
| - ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Unexpected ambagious anchor link text. |
| 194 | + ⚠ eslint-plugin-jsx-a11y(anchor-ambiguous-text): Ambiguous text within anchor, screen reader users rely on link text for context. |
167 | 195 | ╭─[anchor_ambiguous_text.tsx:1:1]
|
168 | 196 | 1 │ <a>a disallowed word</a>
|
169 | 197 | · ────────────────────────
|
170 | 198 | ╰────
|
| 199 | + help: Avoid using ambiguous text like "a disallowed word", replace it with more descriptive text that provides context. |
0 commit comments