Skip to content

tidy -access: <doctype> NOT missing #758

@jidanni

Description

@jidanni

Here in Tidy 5.2 -access says <doctype> missing!

$ echo '<!DOCTYPE html><title>x</title><body><img alt=sss src=xxx ></body>'|tidy -q -access 3
line 1 column 1 - Access: [3.2.1.1]: <doctype> missing.
line 1 column 1 - Access: [3.3.1.1]: use style sheets to control presentation.
line 1 column 16 - Access: [4.3.1.1]: language not identified.
line 1 column 16 - Access: [13.2.1.1]: Metadata missing.
line 1 column 38 - Access: [2.1.1.1]: ensure information not conveyed through color alone (image).
line 1 column 38 - Access: [1.1.2.1]: <img> missing 'longdesc' and d-link.
<!DOCTYPE html>
<html>
<head>
<title>x</title>
</head>
<body>
<img alt="sss" src="xxx">
</body>
</html>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions