W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > January to March 2015

Using the HTML header element safely

From: Mitchell Evan <mtchllvn@gmail.com>
Date: Fri, 20 Feb 2015 00:03:08 -0800
Message-ID: <CAK=xW6vwbv61hJK2_XdYxi0eeCJVXMg02JryKALhL2X_RbNXCw@mail.gmail.com>
To: WAI Interest Group <w3c-wai-ig@w3.org>
I'm clear that a site-wide banner should be marked up like this:

<header role="banner">...</header>

To prevent screen readers from announcing multiple banner landmark regions,
it seems like the only other safe use of a header element is inside an
article or section element. I am drawing this conclusion from my own
incomplete testing, and from reading these resolved bug reports:

https://bugs.webkit.org/show_bug.cgi?id=78992
https://bugzilla.mozilla.org/show_bug.cgi?id=849624

Does anybody have a test page or analysis, either to support or change my
conclusion?

Most of what I read on the Web either says to use a header element with the
ARIA banner role, or to use it with the full list of HTML5 sectioning
content elements (article, aside, nav, section) and sectioning root
elements (blockquote, body, fieldset, figure, td; and in the future,
dialog).

Would it be a good idea to file bugs against the browsers again, extending
the article and section element behavior to those other elements (other
than body)? I feel that authors who follow the HTML5 spec shouldn't
inadvertently send a bunch of banner landmarks to the AT.

-- 
Mitchell Evan
mtchllvn@gmail.com
Received on Friday, 20 February 2015 08:03:56 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 13 October 2015 16:21:54 UTC