WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: landmarks in landmarks

for

From: Jared Smith
Date: Dec 12, 2013 8:54AM


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