forked from yewstack/yew
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fail.stderr
35 lines (30 loc) · 1.96 KB
/
fail.stderr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
warning: All `<a>` elements should have a `href` attribute. This makes it possible for assistive technologies to correctly interpret what your links point to. https://developer.mozilla.org/en-US/docs/Learn/Accessibility/HTML#more_on_links
--> tests/html_lints/fail.rs:5:10
|
5 | <a>{ "I don't have a href attribute" }</a>
| ^
warning: '#' is not a suitable value for the `href` attribute. Without a meaningful attribute assistive technologies will struggle to understand your webpage. https://developer.mozilla.org/en-US/docs/Learn/Accessibility/HTML#onclick_events
--> tests/html_lints/fail.rs:8:17
|
8 | <a href="#">{ "I have a malformed href attribute" }</a>
| ^^^
warning: 'javascript:void(0)' is not a suitable value for the `href` attribute. Without a meaningful attribute assistive technologies will struggle to understand your webpage. https://developer.mozilla.org/en-US/docs/Learn/Accessibility/HTML#onclick_events
--> tests/html_lints/fail.rs:11:17
|
11 | <a href="javascript:void(0)">{ "I have a malformed href attribute" }</a>
| ^^^^^^^^^^^^^^^^^^^^
warning: All `<img>` tags should have an `alt` attribute which provides a human-readable description
--> tests/html_lints/fail.rs:14:10
|
14 | <img src="img.jpeg"/>
| ^^^
warning: The tag 'tExTAreA' is not matching its normalized form 'textarea'. If you want to keep this form, change this to a dynamic tag `@{"tExTAreA"}`.
--> tests/html_lints/fail.rs:17:10
|
17 | <tExTAreA />
| ^^^^^^^^
error: This macro call exists to deliberately fail the compilation of the test so we can verify output of lints
--> tests/html_lints/fail.rs:19:5
|
19 | compile_error!("This macro call exists to deliberately fail the compilation of the test so we can verify output of lints");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^