WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: heading as child of another heading - valid?

for

From: Steve Faulkner
Date: Mar 30, 2018 2:55PM


Hi Diane, this may be helpful in understanding the w3c markup checker

HTML5 – Check it Before you Wreck it with Mike[tm] Smith
<http://html5doctor.com/html5-check-it-before-you-wreck-it-with-miketm-smith/>;

--

Regards

SteveF
Current Standards Work @W3C
<http://www.paciellogroup.com/blog/2015/03/current-standards-work-at-w3c/>;

On 30 March 2018 at 20:46, Tomlins Diane < <EMAIL REMOVED> >
wrote:

> Thanks Steve, that helps to understand what the validator is doing there.
> I should have thought of just putting in a simple example to check... D'oh!
>
> >> It is a conformance error as per the HTML spec, headings cannot be
> nested.
> If you test a simple case the error is shown. In the case of your example
> code there is an error in the patent elements that suppresses validation of
> child elements, which is probably why it does not get flagged.
>
> >> SteveF
>
> Diane R Tomlins
> HCA IT&S | Digital Media
> Accessibility SME
>
>
>
>
> > > > >