WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: landmarks in landmarks

for

From: Steve Faulkner
Date: Dec 12, 2013 9:01AM


Hi Jared,

Yes, this is just fine - and is probably best practice until there is
> better screen reader support for the native HTML5 structural elements.
>

better browser support for the mapping of landmarks to native elements. In
browsers that do so then screen readers work fine with them.

For example Firefox supports the correct mapping, while IE does not
https://rawgithub.com/stevefaulkner/HTML5accessibility/master/index.html

--

Regards

SteveF
HTML 5.1 <http://www.w3.org/html/wg/drafts/html/master/>;


On 12 December 2013 15:54, Jared Smith < <EMAIL REMOVED> > wrote:

> Jacek Zadrożny wrote:
> > But what about mixing HTML structural elements and landmarks?
>
> Yes, this is just fine - and is probably best practice until there is
> better screen reader support for the native HTML5 structural elements.
> Just be sure to match the correct roles to the native elements (e.g,
> <nav role="navigation">, <header role="banner", etc.).
>
> > So if there is an footer element of HTML5 it means that using ARIA
> > role "content-info" is wrong?
>
> Yes, but only because it should be "contentinfo", not "content-info".
> <footer role="contentinfo"> is perfectly fine.
>
> Jared
> > > >