W3C home > Mailing lists > Public > www-validator@w3.org > June 2020

validator issue for <title>

From: Catherine Ailanjian <Catherine.Ailanjian@wdc.com>
Date: Wed, 10 Jun 2020 20:08:54 +0000
To: "www-validator@w3.org" <www-validator@w3.org>
Message-ID: <MWHPR04MB07350C705187D5EB168AA410E7830@MWHPR04MB0735.namprd04.prod.outlook.com>
Hello –

I’m running the Nu Html Checker using the bookmarklets for checking serialized DOM and then filtering for WCAG 2.0 on this webpage:  http://shop.westerndigital.com.
We are receiving the following nesting error:

Error: Element title<https://html.spec.whatwg.org/multipage/#the-title-element> not allowed as child of element body<https://html.spec.whatwg.org/multipage/#the-body-element> in this context. (Suppressing further errors from this subtree.)

From line 259, column 2; to line 259, column 8<https://validator.w3.org/nu/#l259c8>

ink -->↩ <title>Wester
Contexts in which element title<https://html.spec.whatwg.org/multipage/#the-title-element> may be used:
In a head<https://html.spec.whatwg.org/multipage/#the-head-element> element containing no other title<https://html.spec.whatwg.org/multipage/#the-title-element> elements.
Content model for element body<https://html.spec.whatwg.org/multipage/#the-body-element>:
Flow content<https://html.spec.whatwg.org/multipage/#flow-content-2>.

However, the title element is being used above the body element in the code.  Why is error being displayed?

Cat Ailanjian
Web QA Engineer
Marketing Operations
Pro Unlimited Contingent Worker, on behalf of Western Digital
Office: 949-672-9412

Received on Wednesday, 10 June 2020 20:11:29 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 10 June 2020 20:11:30 UTC