WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: heading as child of another heading - valid?


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



Current Standards Work @W3C

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

> 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
> > > > >