W3C home > Mailing lists > Public > public-html-comments@w3.org > October 2015

Re: FOOTER and HEADER elements defined as landmarks in HTML5

From: Steve Faulkner <faulkner.steve@gmail.com>
Date: Fri, 2 Oct 2015 16:46:00 +0100
Message-ID: <CA+ri+VmYSwhtP51Z5sk395wCuL42TH=Mn9BgPk+AMikwva52qg@mail.gmail.com>
To: "Gunderson, Jon R" <jongund@illinois.edu>
Cc: "public-html-comments@w3.org" <public-html-comments@w3.org>, Nick Hoyt <nhoyt@uiuc.edu>, Rich Schwerdtfeger <rschwerdtfeger@yahoo.com>
Hi Jon,

I agree, from looking at usage of the elements that map to landmark roles,
that some tweaking is needed (main usage being the least problematic by
far, from recent data anaylisis 98% of pages using <main> use 1)

Can you provide some idea of the logic for such restrictions to be
implemented in browsers?
for example
"only the first header in DOM scoped to the body is mapped to banner"
"only the last footer in DOM is mapped to contentinfo"

Would these result an acceptable majority of use being covered?

here are some example pages conatining header and footer



Current Standards Work @W3C

On 1 October 2015 at 17:06, Gunderson, Jon R <jongund@illinois.edu> wrote:

> Steve,
> I would like to file an issue with the current API mappings for the HEADER
> and FOOTER.
> Right now they will be defined as a BANNER or CONTENTINFO landmarks,
> except when they are descendants of ARTICLE or SECTION elements.
> http://www.w3.org/TR/html-aapi/
> I am curious why other sectioning elements like ASIDE, MAIN and NAVIGATION
> were not also included.
> My main concern is that many people use the HEADER and FOOTER elements
> outside of ARTICLE and SECTION elements, and I don’t think they mean to
> create BANNER and CONTENTNFO landmarks.
> Typically a page only needs at most one of BANNER and CONTENTINFO
> landmarks, so I think it should be harder to make them automatically using
> the HEADER and FOOTER elements.
> We have a set of rules related to BANNER and CONTENTINFO landmarks:
>    1. Must be top level landmark
>    2. Only one
>    3. Restriction of what can be in the landmarks
> Rule Details:
> http://fae20.cita.illinois.edu/rulesets/rc/#id_h3_ID_LANDMARKS
> Look forward to your response,
> Jon
Received on Friday, 2 October 2015 15:47:08 UTC

This archive was generated by hypermail 2.3.1 : Friday, 2 October 2015 15:47:08 UTC