tidy-html5/test/testbase/msg_427836.txt
2015-05-13 13:38:40 +02:00

35 lines
1.7 KiB
Plaintext

line 2 column 1 - Warning: missing <!DOCTYPE> declaration
line 3 column 17 - Warning: <img> discarding newline in URI reference
line 2 column 1 - Warning: inserting missing 'title' element
line 3 column 17 - Warning: <img> escaping malformed URI reference
line 3 column 17 - Warning: <img> lacks "alt" attribute
Info: Document content looks like HTML5
5 warnings, 0 errors were found!
URIs must be properly escaped, they must not contain unescaped
characters below U+0021 including the space character and not
above U+007E. Tidy escapes the URI for you as recommended by
HTML 4.01 section B.2.1 and XML 1.0 section 4.2.2. Some user agents
use another algorithm to escape such URIs and some server-sided
scripts depend on that. If you want to depend on that, you must
escape the URI by your own. For more information please refer to
http://www.w3.org/International/O-URL-and-ident.html
The alt attribute should be used to give a short description
of an image; longer descriptions should be given with the
longdesc attribute which takes a URL linked to the description.
These measures are needed for people using non-graphical browsers.
For further advice on how to make your pages accessible
see http://www.w3.org/WAI/GL.
. You may also want to try
"http://www.cast.org/bobby/" which is a free Web-based
service for checking URLs for accessibility.
About HTML Tidy: https://github.com/htacg/tidy-html5
Bug reports and comments: https://github.com/htacg/tidy-html5/issues
Or send questions and comments to: https://lists.w3.org/Archives/Public/public-htacg/
Latest HTML specification: http://dev.w3.org/html5/spec-author-view/
Validate your HTML documents: http://validator.w3.org/nu/
Lobby your company to join the W3C: http://www.w3.org/Consortium