Checker tests upload

From Internationalization

These are tests for the i18n checker's File Upload feature.

To run a test, pick up the URI from the links shown for each format and drop that URI into the address field of the checker.

The information for each test is as follows:

  • Brief title for the test
  • Things to check for (pass criteria). Italicised items in the information panel are between [square brackets]. Other italicised items are reports that should appear in the lower section of the checker. At the end of a line with italicisation you should see any value to look for, or information about what formats this is relevant for. Only relevant criteria are mentioned (eg. when testing character encoding, information or reports about language declarations are ignored).
  • A set of links. Each test has links for a number of formats.
  • Problems noted during the testing. (Usually for the dev.w3.org version, but sometimes also notes about the validator.w3.org version.) A problem that applies to multiple tests (eg. xml declaration text missing) is usually mentioned only once.

xhtmlH means XHTML 1.0 served as text/html; xhtmlX means xhtml1.0 served as application/xhtml+xml; xhtml1.1 means XHTML 1.1 served as application/xhtml+xml.

The tests have not been checked yet for XHTML5.


Character encoding

HTTP Content Type

[HTTP Content-Type] iso-8859-15
no other encoding info
Encoding declared only in HTTP
Non-UTF8 character encoding declared

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • HTTP Content-type field should appear above BOM field in info table
  • charset in orange should be same case as in code
  • xml decl and meta charset fields missing for html and html5 tests, etc. All fields should be shown all the time. (goes for all tests) @@@T: I added the xml decl field but I tend to disagree because it may feel like an xml declaration could be expected for non xml documents. Regarding the meta charset field there's actually only one for both types of meta tags; only the title of the field changes depending on whether it is an HTML or HTML5 document. In any case both types are detected in all documents. My suggestion would be to use a generic title for this field (is 'meta tags'). If i need to change back to two separate fields, several parts of the code will have to be adapted so for now i leave it like that until we discuss it more.
  • xml decl field says [charset_val_none] @@@T: Also fixed the missing xml declaration code.
  • info bar doesn't distinguish between XHTML 1.0 and XHTML 1.1
  • change title of rep_charset_no_in_doc to Encoding declared only in HTTP

UTF8 Byte-order mark

[Byte-order mark] utf-8
no other encoding info
UTF-8 BOM found at start of file
No visible in-document encoding specified

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • add warning No visible in-document encoding specified

UTF16LE Byte-order mark

[Byte-order mark] UTF-16LE
no other encoding info
No visible in-document encoding specified (html, xhtmlh, xhtmlx, xhtml11)
Non-UTF8 character encoding declared

HTML 
HTML5 
XHTML 1.0 
XHTML 1.0 (xml) 

Problems:

  • the Code field has a superfluous "Byte-order mark: UTF-16LE"
  • add warning No visible in-document encoding specified
  • the report "Non-UTF8 characer encoding declared" produces no code in the second line.
  • html5 test doesn't produce "no visible" report
  • add new test locations to test framework

UTF16BE Byte-order mark

[Byte-order mark] UTF-16BE
no other encoding info
No visible in-document encoding specified (html, xhtmlh, xhtmlx, xhtml11)
Non-UTF8 character encoding declared

HTML 
HTML5 
XHTML 1.0 
XHTML 1.0 (xml) 


Problems:

  • the Code field has a superfluous "Byte-order mark: UTF-16BE"
  • add warning No visible in-document encoding specified
  • the report "Non-UTF8 characer encoding declared" produces no code in the second line.
  • html5 test doesn't produce "no visible" report
  • add new test locations to test framework

XML declaration only

[XML declaration] iso-8859-15
no other encoding info
XML declaration used. (html, html5)
No effective character encoding information (html,html5,xhtml)
XML declaration used. (xhtml)
Non-UTF8 character encoding declared

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • XML declaration field not shown for html test
  • report "Non-UTF8 character encoding declared" not shown for HTML
  • add new reports
  • check that "no effective..." is warning in test framework
  • same for "no visible.." for xhtml

XML declaration, no encoding

no encoding info
No character encoding information. (html,html5,xhtml)
No in-document encoding declaration found (xhtmlx,xhtml11)

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • none

Content-Type meta only, utf-8

[meta tag] utf-8
no other encoding info
Meta encoding declarations don't work with XML (xhtmlX, xhtml11)

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • add report: "Meta encoding declarations don't work with XML"
  • warning/error "Incorrect use of meta encoding declarations" appearing with xhtml, xhtmlx (but not xhtmlx11)

Content-Type meta only, non-utf8

[meta tag] iso-8859-15
no other encoding info
Incorrect use of meta encoding declaration (xhtmlX, xhtml11)
Incorrect use of meta encoding declaration (xhtml)
Non-UTF8 character encoding declared

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • incorrect report "No character encoding information" shown for HTML5
  • "Non-UTF8 character encoding declared" not shown for HTML5
  • meta tag line not shown for all xml, and 'No character encoding information' report showing
  • add report: "Incorrect use of meta encoding declaration" (xhtmlH, xhtmlX, xhtml11)
  • "incorrect use.." doesn't appear with xhtmlx11

HTML5 meta charset only, utf8

[meta tag] uft-8
no other encoding info
Meta charset tag will cause validation to fail (html,xhtml,xhtmlX,xhtml11)
Meta encoding declarations don't work with XML (xhtmlX, xhtml11)

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • add report: "Meta encoding declarations don't work with XML" [rep_meta_ineffective]
  • add report: "Meta charset tag will cause validation to fail" rep_meta_charset_html4]
  • "Incorrect use of meta encoding declarations" appears on xhtml, xhtmlx (but not xhtml11)

HTML5 meta charset only, not utf8

[meta tag] iso-8859-15
no other encoding info
Incorrect use of meta encoding declaration (xhtmlX, xhtml11)
Incorrect use of meta encoding declaration (xhtmlH)
Meta charset tag will cause validation to fail (html,xhtml,xhtmlX,xhtml11)
Non-UTF8 character encoding declared

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • HTML and XHTML tests shows value for Content-Type meta tag field @@@T: It was the behavior of the parser to add it if absent. Fixed.
  • HTML5 test shows "None found"
  • incorrect report "No character encoding information" shown for HTML5
  • "Non-UTF8 character encoding declared" not shown for HTML5
  • meta tag line not shown for any XML format
  • add report: "Incorrect use of meta encoding declaration" [rep_incorrect_use_meta]
  • add report: "Meta charset tag will cause validation to fail" rep_meta_charset_html4
  • "incorrect use..." missing for xhtml11

No encoding

no encoding info
No character encoding information (html,html5,xhtml)
No in-document encoding declaration found (xhtml:xml,xhtml11:xml)

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • meta tag line is shown for all xml formats - the meta tag is non-functional for xml formats, so it should perhaps be hidden here (note that this is the opposite problem to the two previous tests, where meta info was in the code but not shown for xml formats)
  • add report: No in-document encoding declaration found
  • "no character encoding.." still appears on xml tests

Conflicting encoding declarations: HTTP vs BOM

[HTTP Content-Type] iso-8859-15
[Byte order mark (BOM)] UTF-8
no other encoding info
Conflicting character encoding declarations
No visible in-document encoding specified
UTF-8 BOM found at start of file
Non-UTF8 character encoding declared


HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • add report: No visible in-document encoding specified

Conflicting encoding declarations: HTTP vs UTF-16LE BOM

[HTTP Content-Type] iso-8859-1
[Byte order mark (BOM)] UTF-16LE
no other encoding info
Conflicting character encoding declarations
No visible in-document encoding specified (html, xhtmlh, xhtmlx, xhtml11)
Non-UTF8 character encoding declared

HTML5   


Problems:

  • add report: No visible in-document encoding specified should be done, but tests needed
  • change test location in test framework

Conflicting encoding declarations: HTTP vs XML declaration

[HTTP Content-Type] iso-8859-15
[XML declaration] utf-8
no other encoding info
Conflicting character encoding declarations
XML declaration used. (html, html5)
XML declaration used. (xhtml)
Non-UTF8 character encoding declared

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • xml declaration not shown for html
  • Conflicting character encoding declarations report missing for html
  • add new report: XML declaration used

Conflicting encoding declarations: HTTP vs meta Content-Type

[HTTP Content-Type] iso-8859-15
[Meta tag] iso-8859-1
no other encoding info
Conflicting character encoding declarations
Non-UTF8 character encoding declared (2 tags)
Meta encoding declarations don't work with XML (xhtmlx, xhtml11)

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • html5 shows 8859-1 value for HMTL5 meta charset @@@T: naming issue of the field. We either use a generic name or separate in two fields (see previous comments)
  • Conflicting character encoding declarations report missing for html5
  • meta tag line missing for xml formats - leading to missing report of conflict
  • add report: Meta encoding declarations don't work with XML
  • "Meta charset tag will cause validation to fail" appears in html,xhtml,xhtmlx,xhtml11

Conflicting encoding declarations: HTTP vs HTML5 meta

[HTTP Content-Type] iso-8859-15
[Meta tag] iso-8859-1
no other encoding info

Conflicting character encoding declarations
Meta charset tag will cause validation to fail (html,xhtml,xhtmlX,xhtml11)
Non-UTF8 character encoding declared (2 tags)
Meta encoding declarations don't work with XML (xhtmlx, xhtml11)

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • html & xhtml shows 8859-1 value for content-type meta tag T: meta tag fields are unified now
  • html5 shows None Found for meta charset
  • Conflicting character encoding declarations report missing for html5
  • meta tag line missing for xml formats - leading to missing report of conflict
  • add report: Meta encoding declarations don't work with XML
  • add report: Meta charset tag will cause validation to fail

Conflicting encoding declarations: UTF-8 BOM vs XML declaration

[Byte order mark (BOM)] UTF-8
[XML declaration] iso-8859-15
no other encoding info
Conflicting character encoding declarations
XML declaration used. (html, html5)
XML declaration used. (xhtml)
UTF-8 BOM found at start of file
Non-UTF8 character encoding declared

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • Conflicting character encoding report doesn't show BOM
  • add report: XML declaration used

Conflicting encoding declarations: UTF-8 BOM vs meta Content-Type

[Byte order mark (BOM)] UTF-8
[Meta tag] iso-8859-15
no other encoding info
Conflicting character encoding declarations
UTF-8 BOM found at start of file
Non-UTF8 character encoding declared
Meta encoding declarations don't work with XML (xhtml:xml, xhtml11:xml)

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • html5 shows 8859-15 value for html5 meta charset
  • html5 shows None Found for meta charset
  • Conflicting character encoding declarations report missing for html5
  • Conflicting character encoding report doesn't show BOM
  • meta tag line missing for xml formats - leading to missing report of conflict
  • add report: Meta encoding declarations don't work with XML

Conflicting encoding declarations: UTF-8 BOM vs HTML5 meta charset

[Byte order mark (BOM)] UTF-8
[Meta tag] iso-8859-15
no other encoding info
Conflicting character encoding declarations
UTF-8 BOM found at start of file
Meta charset tag will cause validation to fail (html,xhtml,xhtml:xml,xhtml11:xml)
Non-UTF8 character encoding declared
Meta encoding declarations don't work with XML (xhtml:xml, xhtml11:xml)

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • html and xhtml shows 8859-15 value for Content-Type meta tag
  • html5 shows None Found for meta charset and doesn't show 8859-15 value at all
  • Conflicting character encoding declarations & Non-UTF8 character encoding declared reports missing for html5
  • Conflicting character encoding report doesn't show BOM
  • meta tag line missing for xml formats - leading to missing report of conflict
  • add report: Meta encoding declarations don't work with XML
  • add report: Meta charset tag will cause validation to fail

Conflicting encoding declarations: XML declaration vs meta Content-Type

[XML declaration] iso-8859-15
[Meta tag] iso-8859-1 (with CT meta in code)
no other encoding info
Conflicting character encoding declarations
XML declaration used. (html, html5)
XML declaration used. (xhtmlH)
Non-UTF8 character encoding declared
Meta encoding declarations don't work with XML (xhtml:xml, xhtml11:xml)

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • html & html5: xml declaration not shown at all
  • html5 shows None Found for meta charset
  • Conflicting character encoding declarations & Non-UTF8 character encoding declared reports missing for html & html5
  • html5 shows No character encoding information report
  • meta tag result not shown for xml, and conflict report missing
  • add missing reports

Conflicting encoding declarations: XML declaration vs meta charset

[XML declaration] iso-8859-15
[Meta tag] iso-8859-1 (with meta charset in code)
no other encoding info
Conflicting character encoding declarations
XML declaration used. (html, html5)
XML declaration used. (xhtml)
Meta charset tag will cause validation to fail (html,xhtml,xhtmlx,xhtml11)
Meta encoding declarations don't work with XML (xhtmlx, xhtml11)
Non-UTF8 character encoding declared

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • html shows 885901 as content-type meta, no mention of html5 meta charset or xml decl, no conflicting encodings report
  • html5 shows None Found for meta charset, no mention of xml decl, no conflicting encodings report
  • meta tag line not shown for xml, conflicting encodings report missing
  • add missing reports

Conflicting encoding declarations: meta Content-Type, then HTML5 meta

[Meta tag] iso-8859-15 iso-8859-1 (meta ct then meta charset in code)
no other encoding info
Conflicting character encoding declarations (2 tags)
Multiple encoding declarations using the meta tag (2 tags)
Meta charset tag will cause validation to fail (1 tag) (html,xhtml,xhtmlx,xhtml11)
Incorrect use of meta encoding declaration (2 tags) (xhtml)
Incorrect use of meta encoding declaration (2 tags) (xhtmlx,xhtml11)
Non-UTF8 character encoding declared (2 tags)
Meta encoding declarations don't work with XML (2 tags) (xhtmlx, xhtml11)

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • html & xhtml: content-type meta tag field shows both values! @@@T: see comment before
  • html5: shows 8850-15 for meta charset, no mention of content-type meta, only report is No character encoding information
  • meta tag line not shown for xml, and conflicting encoding report missing
  • add new reports

Conflicting encoding declarations: HTML5 meta, then meta Content-Type

[Meta tag] iso-8859-15 iso-8859-1 (meta charset then meta CT in code)
no other encoding info
Conflicting character encoding declarations (2 tags)
Multiple encoding declarations using the meta tag (2 tags)
Incorrect use of meta encoding declaration (2 tags) (xhtmlx,xhtml11)
Meta charset tag will cause validation to fail (1 tag) (html,xhtml,xhtmlx,xhtml11)
Incorrect use of meta encoding declaration (2 tags) (xhtml)
Non-UTF8 character encoding declared (2 tags)
Meta encoding declarations don't work with XML (xhtmlx,xhtml11)

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • same problems as previous test
  • meta tag line not shown for xml, and conflicting encoding report missing
  • add new reports

Multiple pragmas

[Meta tag] utf-8 utf-8 iso-8859-1
no other encoding info
Conflicting character encoding declarations (3 tags)
Multiple encoding declarations using the meta tag (3 tags)
Non-UTF8 character encoding declared (1 tag)
Meta encoding declarations don't work with XML (xhtmlx,xhtml11)

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • Only one tag listed in report.
  • Both tags listed in info (should be first one only). @@@T: why?
  • Fails in html5.
  • no meta tag line for xml, and no conflicting encodings report
  • RI add report: don't need meta for xml

Multiple charset metas

[Meta tag] utf-8 utf-8 iso-8859-1
no other encoding info
Conflicting character encoding declarations (3 tags)
Multiple encoding declarations using the meta tag (3 tags)
Meta charset tag will cause validation to fail (1 tag) (html,xhtml,xhtmlx,xhtml11)
Non-UTF8 character encoding declared (1 tag)
Meta encoding declarations don't work with XML (xhtmlx,xhtml11)

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)

Problems:

  • Only one tag listed in report. Both tags listed in info (should be first one only).
  • Fails on html5.
  • no meta tag line for xml, and no conflicting encodings report
  • add new reports

BOM in content

BOM found in content

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • No report.

Language declarations

lang attribute in html tag

[html tag] ko
no other language info
A tag uses a lang attribute without an associated xml:lang attribute (xhtmlX,xhtml1)
A tag uses a lang attribute without an associated xml:lang attribute (xhtml)
The html tag has no effective language declaration. (xhtmlx,xhtml1)
XML declaration used. (xhtml)

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • xhtml: code for <html> lang attribute is <html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko">
  • line for content-language meta tag should not be shown by default for any format - only if it contains a value
  • xhtml as text/html should not show "The html tag has no language attribute", but should show "A tag uses a lang attribute without an associated xml:lang attribute." report
  • given the logic we applied to the meta tag line, we should now apply the same logic to the Language section and combine [<html> lang attribute] and [<html> xml:lang attribute] into a single line called [html tag]. I think we should show values for both lang and xml:lang if they differ, but only a single value if they are the same. (The code column will capture both attributes anyway, since it shows the whole tag.) The reports will indicate whether we have the right combinations for a particular format.
  • apply proposed rewording to report "A tag uses a lang attribute without an associated xml:lang attribute"
  • add new report

lang without xml:lang in body

This HTML file contains xml:lang attributes. (1 tag) (html)
A tag uses a lang attribute without an associated xml:lang attribute (2 tags) (xhtmlx,xhtml1)
A tag uses a lang attribute without an associated xml:lang attribute (2 tags) (xhtml)
XML declaration used. (xhtml)

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • no reports
  • validator.w3.org version incorrectly doesn't detect for xhtml as xml
  • "A tag uses a lang attribute without an associated xml:lang attribute" should appear as an ERROR for xhtmlX and xhtml11
  • html5 should not report "This HTML file contains xml:lang attributes"

xml:lang attribute in html tag

[html tag] ko
no other language info
This HTML file contains xml:lang attributes (html)
A tag uses an xml:lang attribute without an associated lang attribute (html5)
The html tag has no effective language declaration. (html,html5,xhtml)
A tag uses an xml:lang attribute without an associated lang attribute (xhtml)
XML declaration used (xhtml)

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • no reports
  • xhtml: code for <html> lang attribute is <html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko">
  • produce the reports listed above

xml:lang without lang in body

This HTML file contains xml:lang attributes (3 tags) (html)
A tag uses an xml:lang attribute without an associated lang attribute (2 tags) (html5)
A tag uses an xml:lang attribute without an associated lang attribute (2 tags) (xhtml)
XML declaration used (xhtml)

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • html5 shouldn't report "This HTML file contains xml:lang attributes" but should report "A tag uses an xml:lang attribute without an associated lang attribute" as an ERROR

HTTP Content-Language header

[HTTP Content-Language] ko
no other language info
The html tag has no language attribute.
XML declaration used (xhtml)

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • no reports

Content-Language meta element

[Content-Language meta tag] ko
no other language info
Content-Language meta element used (html5)
Content-Language meta element used (html,xhtml,xhtmlx,xhtml11)
The html tag has no language attribute.
XML declaration used (xhtml)


HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • no reports
  • report doesn't include the extra text about CL meta
  • add new report


Mismatch between lang and xml:lang values in body

A lang attribute value did not match an xml:lang value when they appeared together on the same tag. (3 instances)
This HTML file contains xml:lang attributes. (3 tags) (html)
XML declaration used. (xhtml)

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • reports should be an error rather than a warning
  • report "A lang attribute value did not match an xml:lang value when they appeared together on the same tag." missing for html5
  • report "This HTML file contains xml:lang attributes " should not show for html5, but "A lang attribute value did not match an xml:lang value when they appeared together on the same tag." should

Mismatch between lang and xml:lang values in html tag

A lang attribute value did not match an xml:lang value when they appeared together on the same tag. (1 instance)
This HTML file contains xml:lang attributes. (3 tags) (html)
XML declaration used. (xhtml)

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • reports should be an error rather than a warning
  • report "A lang attribute value did not match an xml:lang value when they appeared together on the same tag." missing for html
  • report "This HTML file contains xml:lang attributes " should not show for html5, but "A lang attribute value did not match an xml:lang value when they appeared together on the same tag." should
  • xhtmlH, xhtmlX, xhtml11 hace an error message "The lang attribute and the xml:lang attribute in the html tag have different values." this is redundant and should be replaced by "A lang attribute value did not match an xml:lang value when they appeared together on the same tag."

No language attribute in html tag or elsewhere

The html tag has no language attribute.
XML declaration used. (xhtml)

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • no reports

Incorrect language values

A language value was incorrectly formed. (4 instances)
This HTML file contains xml:lang attributes. (4 tags) (html)
A tag uses an xml:lang attribute without an associated lang attribute (2 tags) (html5)
A lang attribute value did not match an xml:lang value when they appeared together on the same tag. (1 tag)
A tag uses a lang attribute without an associated xml:lang attribute (2 tags) (xhtmlx,xhtml11)
A tag uses a lang attribute without an associated xml:lang attribute (2 tags) (xhtml)
A tag uses an xml:lang attribute without an associated lang attribute (2 tags) (xhtml)
XML declaration used. (xhtml)

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • no reports
  • test is not picking up problems in the html tag

Non-latin values

Non-ASCII class/id names

[Non-ascii class or id names] 8

XML declaration used. (xhtml)

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • we should make the list in the code column expand on click
  • the result shows 9 instead of 8
  • the scroll say Next 4, but all 8 are already shown

Non-NFC class/id names

[Non-ascii class or id names] 4
[Non-NFC class or id names] 4
Class or id names found that are not in Unicode Normalization Form C. (4 tags)
XML declaration used. (xhtml)

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • result shows 5, instead of 4

Markup

b tags with no class

<b> tags found with no class attribute. (3 b tags total, 2 without class)
XML declaration used. (xhtml)

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • report finds 1 b tag in total, but 3 b tags without class attrs - should be 3 total and 2 without class

i tags with no class

<i> tags found with no class attribute. (2 tags)
XML declaration used. (xhtml)

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • report finds 1 b tag in total, but 3 b tags without class attrs - should be 3 total and 2 without class

Incorrect dir values

Incorrect values used for dir attribute. (2 tags for html, html5; 3 for xhtmlH, xhtmlX, xhtml11)
XML declaration used. (xhtml)

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • None

dir rtl in html tag

[Default direction] rtl
XML declaration used. (xhtml)

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • should be same case as in code

dir ltr in html tag

[Default direction] ltr
XML declaration used. (xhtml)

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • should be same case as in code

no dir in html tag

[Default direction] ltr (by default)
XML declaration used. (xhtml)

HTML4   
HTML5   
XHTML1.0 (html)   
XHTML1.0 (xml)   
XHTML1.1 (xml)


Problems:

  • Result should not be highlighted

Parking lot for Checks to add in the future