Skip to content

"HTML page has lang attribute" (b5c3f8): Examples should be improved #1984

@Jym77

Description

@Jym77

In HTML page has lang attribute, examples are fairly bad compared to our standard:

  1. none of them have content, just empty <html> elements. I'm not even sure 3.1.1 apply to these, and so (notably), not sure the Failed examples are actually failing.

  2. The Inapplicable examples are <svg> and <math> without a lang attribute (nor content). This means that 3.1.1 is actually failing on them, since there is no programmatic language. They should have a correct lang attribute.

  3. The last inapplicable example is just <math></math>, when opened in a separate tab, both Chrome and Firefox build a wrapper page around it stating:

    This XML file does not appear to have any style information associated with it. The document tree is shown below.
    <math />

    which effectively makes it hard to test the correct thing (the <math> page) rather than the wrapper page.

Metadata

Metadata

Assignees

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