WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: landmarks in landmarks

for

From: Jacek Zadrożny
Date: Dec 12, 2013 10:01AM


W dniu 2013-12-12 16:54, Jared Smith pisze:
> 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.
JZ: You are absolutely right... My mistake:)
Thanks for everybody
Jacek